summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fracture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fracture.cpp b/src/fracture.cpp
index b1bde45..2651668 100644
--- a/src/fracture.cpp
+++ b/src/fracture.cpp
@@ -73,8 +73,8 @@ int main(int argc, char* argv[]) {
std::mt19937 rng{seeds};
if (use_aN) {
- unsigned Mx = pow(2, ceil(log2(4*2*n*a)));
- unsigned My = pow(2, ceil(log2(4*2*n/a)));
+ unsigned Mx = pow(2, ceil(log2(4*sqrt(2*n*a))));
+ unsigned My = pow(2, ceil(log2(4*sqrt(2*n/a))));
ma meas(n, a, Mx, My, beta);