Skip to content

Commit

Permalink
Merge pull request GRTLCollaboration#235 from GRChombo/enhancement/cl…
Browse files Browse the repository at this point in the history
…ang_format_16

Update clang-format to v16
  • Loading branch information
KAClough authored May 19, 2023
2 parents 3bd2109 + e860f14 commit cb90d45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
- uses: DoozyX/[email protected].2
with:
source: '.'
extensions: 'hpp,cpp'
clangFormatVersion: 15
clangFormatVersion: 16
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.7
rev: v16.0.4
hooks:
- id: clang-format
8 changes: 4 additions & 4 deletions Source/CCZ4/Constraints.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ class [[deprecated(

template <class data_t, template <typename> class vars_t,
template <typename> class diff2_vars_t>
Vars<data_t> constraint_equations(const vars_t<data_t> &vars,
const vars_t<Tensor<1, data_t>> &d1,
const diff2_vars_t<Tensor<2, data_t>> &d2)
const;
Vars<data_t>
constraint_equations(const vars_t<data_t> &vars,
const vars_t<Tensor<1, data_t>> &d1,
const diff2_vars_t<Tensor<2, data_t>> &d2) const;
};

#include "Constraints.impl.hpp"
Expand Down

0 comments on commit cb90d45

Please sign in to comment.