We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a7716d commit f68a652Copy full SHA for f68a652
2 files changed
test/MHD/AmbipolarCshock/python/testidefix.py
@@ -72,7 +72,7 @@ def f(x,D):
72
Dth=np.zeros(x.shape)
73
for i in range(x.size):
74
r.set_initial_value(DSim[iref],x[iref])
75
- Dth[i]=r.integrate(x[i])
+ Dth[i]=r.integrate(x[i]).item()
76
#print("Dth[%d]=%g"%(i,Dth[i]))
77
78
bTh=np.sqrt(b0**2+2*A**2*(Dth-1)*(1/Dth-1/M**2))
test/MHD/AmbipolarCshock3D/python/testidefix.py
@@ -75,7 +75,7 @@ def f(x,D):
79
80
81
0 commit comments