Skip to content

Commit d02ae60

Browse files
committed
error
1 parent 130b542 commit d02ae60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geode/mesh/helpers/build_grid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace geode
4242
}
4343
const auto min_cell_length =
4444
std::pow( numerator / max_nb_cells, 1. / dimension );
45-
const auto target_is_ok = target_cell_length < min_cell_length;
45+
const auto target_is_ok = target_cell_length > min_cell_length;
4646
auto cell_length = std::max( min_cell_length, target_cell_length );
4747
std::array< index_t, dimension > cell_numbers;
4848
std::array< double, dimension > cell_lengths;

0 commit comments

Comments
 (0)