We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130b542 commit d02ae60Copy full SHA for d02ae60
src/geode/mesh/helpers/build_grid.cpp
@@ -42,7 +42,7 @@ namespace geode
42
}
43
const auto min_cell_length =
44
std::pow( numerator / max_nb_cells, 1. / dimension );
45
- const auto target_is_ok = target_cell_length < min_cell_length;
+ const auto target_is_ok = target_cell_length > min_cell_length;
46
auto cell_length = std::max( min_cell_length, target_cell_length );
47
std::array< index_t, dimension > cell_numbers;
48
std::array< double, dimension > cell_lengths;
0 commit comments