Closed tonnylou44853 closed 8 months ago
Thanks @tonnylou44853 ! similar issue occur on certain install ... You're right it's safer to cast to int in the function. I' ve made the change in a separate branch and I will merge that as soon as the test are passing
It's all merged now thanks @tonnylou44853
Hi! I was trying to run one of the tutorial examples on my laptop (MacOS) and noticed a bug:
However, there is no error when I tried running it on a Linux desktop. I suspect this error is due to an internal change in Python/Numpy/PyTorch.
The fix that works for me is to change the following:
on line 113 in https://github.com/NLESC-JCER/QMCTorch/blob/bfabcb030ab6147897d26e6730650de9d8900007/qmctorch/wavefunction/orbitals/norm_orbital.py#L113