Skip to content

Commit 3c1fc6d

Browse files
committed
Probe FB2D test
1 parent c3fde72 commit 3c1fc6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/_basis_util.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ def testEvaluateExpand(self):
107107
im = im.asnumpy()
108108
coef2 = self.basis.expand(im)[:, 0]
109109

110+
import logging
111+
112+
logger = logging.getLogger(__name__)
113+
logger.info("max error: " + str(np.max(np.abs(coef1 - coef2))))
114+
logger.info("coef1[0]: " + str(coef1[0]))
115+
logger.info("coef2[0]: " + str(coef2[0]))
116+
110117
self.assertTrue(np.allclose(coef1, coef2, atol=utest_tolerance(self.dtype)))
111118

112119
def testAdjoint(self):

0 commit comments

Comments
 (0)