From eb6dc994d2803f54f925faad38fafea0df3b85a9 Mon Sep 17 00:00:00 2001 From: Joseph Schuchart Date: Tue, 17 Sep 2024 21:20:31 -0400 Subject: [PATCH] MRA: fix operator precedence in key::child_at Signed-off-by: Joseph Schuchart --- examples/madness/mra-device/key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/madness/mra-device/key.h b/examples/madness/mra-device/key.h index 547b2cac2..18d6ea582 100644 --- a/examples/madness/mra-device/key.h +++ b/examples/madness/mra-device/key.h @@ -125,7 +125,7 @@ namespace mra { assert(n l = this->l; - for (Dimension d = 0; d < NDIM; ++d) l[d] = 2*l[d] + (idx & (1<(n+1, l); } };