mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-05-22 23:35:19 +08:00
Return exc, vxc as float64 arrays.
PiperOrigin-RevId: 480303057
This commit is contained in:
committed by
Diego de las Casas
parent
789bc38a2e
commit
affa162ac7
+4
-1
@@ -786,4 +786,7 @@ class NeuralNumInt(numint.NumInt):
|
||||
|
||||
fxc = None # Second derivative not implemented
|
||||
kxc = None # Second derivative not implemented
|
||||
return exc, (vxc_0, vxc_1, vxc_2, vxc_3), fxc, kxc
|
||||
# PySCF C routines expect float64.
|
||||
exc = exc.astype(np.float64)
|
||||
vxc = tuple(v.astype(np.float64) for v in (vxc_0, vxc_1, vxc_2, vxc_3))
|
||||
return exc, vxc, fxc, kxc
|
||||
|
||||
Reference in New Issue
Block a user