Skip to content

Commit c11c92c

Browse files
committed
Probe FB2D test
1 parent c3fde72 commit c11c92c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/_basis_util.py

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

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

112118
def testAdjoint(self):

0 commit comments

Comments
 (0)