Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 29, 2024
1 parent 37caef5 commit ade718e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
void get_nx_ny(size_t size, size_t &nx, size_t &ny) {
double nxy = nx * ny;
if (size < nxy) {
double f = sqrt(size / ncell );
double f = sqrt(size / nxy );
double fnx = nx * f;
double fny = ny * f;
double s = fnx * fny;
Expand Down

0 comments on commit ade718e

Please sign in to comment.