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 138bf0f commit c3fde72Copy full SHA for c3fde72
tests/test_FFBbasis2D.py
@@ -58,6 +58,9 @@ def testElement(self):
58
r0 = self.basis.r0[k, ell]
59
60
# TODO: Figure out where these factors of 1 / 2 are coming from.
61
+ # Intuitively, the grid should go from -L / 2 to L / 2, not -L / 2 to
62
+ # L / 4. Furthermore, there's an extra factor of 1 / 2 in the
63
+ # definition of `im` below that may be related.
64
r = g2d["r"] * self.L / 4
65
66
im = np.zeros((self.L, self.L), dtype=self.dtype)
0 commit comments