Skip to content

Commit

Permalink
Merge branch 'develop' into moreblockallocations
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles authored Sep 1, 2024
2 parents 22814ca + 3704cc1 commit d8e8f4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: run cppcheck and check for errors
run: |
cppcheck --version
cppcheck --force --error-exitcode=1 --language=c++ --std=c++20 --enable=warning,performance,portability --suppress=memleak --check-level=exhaustive .
cppcheck --force --error-exitcode=1 --language=c++ --std=c++20 --enable=warning,performance,portability --suppress=memleak --suppress=passedByValue --check-level=exhaustive .
- name: show cppcheck style suggestions
run: |
cppcheck --version
cppcheck --force --language=c++ --std=c++20 --enable=style --suppress=knownConditionTrueFalse --check-level=exhaustive .
cppcheck --force --language=c++ --std=c++20 --enable=style,performance --suppress=knownConditionTrueFalse --check-level=exhaustive .
clang-format:
runs-on: ubuntu-24.04
Expand Down
6 changes: 3 additions & 3 deletions grid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1484,10 +1484,10 @@ auto get_poscoordpointnum(const double pos, const double time, const int axis) -
return n_r;
}
}
assert_always(false);
} else {
assert_always(false);
}

assert_always(false);
return -1;
}

constexpr auto get_gridcoords_from_xyz(const std::array<double, 3> pos_xyz) -> std::array<double, 3> {
Expand Down
2 changes: 1 addition & 1 deletion sn3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ inline thread_local auto gslworkspace =
#define __artis_assert(e) \
{ \
const bool assertpass = static_cast<bool>(e); \
assert(assertpass) \
assert(assertpass); \
}

#else
Expand Down

0 comments on commit d8e8f4d

Please sign in to comment.