Fix missing parentheses
This commit is contained in:
parent
775601c4ad
commit
a1bf3c82f8
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ def test_compare_legendre_table_with_scipy():
|
|||
|
||||
Plm_p = sph_harm(m, np.arange(m, lmax + 1), 0, theta)[None, :]
|
||||
if not np.allclose(Plm_p, Plm):
|
||||
print Plm_p
|
||||
print Plm
|
||||
print(Plm_p)
|
||||
print(Plm)
|
||||
return ok_, np.allclose(Plm_p, Plm)
|
||||
|
||||
yield test(np.pi/2, 0, 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue