On Nov 2, 2020 LDAP authentication will be disabled - see http://status.ncsa.illinois.edu for details.

Commit 6c50857d authored by Roland Haas's avatar Roland Haas

POWER: fix sqrt use without math

parent 652d2529
......@@ -181,7 +181,7 @@ def myFourierTransformInverse(freq, hf, t0):
def angular_momentum(x, q, m, chi1, chi2, LInitNR):
eta = q/(1.+q)**2
m1 = (1.+sqrt(1.-4.*eta))/2.
m1 = (1.+math.sqrt(1.-4.*eta))/2.
m2 = m - m1
S1 = m1**2. * chi1
S2 = m2**2. * chi2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment