Skip to content

Commit

Permalink
record prof hlpr assert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pdziekan committed Mar 13, 2023
1 parent 6b8f907 commit 2c07067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmpdata++/output/hdf5.hpp
Expand Up @@ -523,7 +523,7 @@ namespace libmpdataxx
void record_prof_hlpr(H5::H5File hdff, const std::string &name, typename solver_t::real_t *data, const bool vctr, const bool refined)
{
assert(this->rank == 0);
assert((vctr && refined == false) && "record prof hlpr cant save refined vector profiles");
assert(((vctr && refined) == false) && "record prof hlpr cant save refined vector profiles");

const auto _shape(refined ? shape_ref : vctr ? cshape : shape);
const auto _offst(refined ? offst_ref : offst);
Expand Down

0 comments on commit 2c07067

Please sign in to comment.