clwainwright / CosmoTransitions

A package for analyzing finite or zero-temperature cosmological phase transitions driven by single or multiple scalar fields.
MIT License
25 stars 19 forks source link

raise TypeError( TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer. #23

Closed DarkKnight6777 closed 4 years ago

DarkKnight6777 commented 4 years ago

[https://github.com/clwainwright/CosmoTransitions/blob/ba3339784f1a91fb23d374467cf83a948509aaa3/cosmoTransitions/pathDeformation.py#L761-L762](float instead of int) [https://github.com/numpy/numpy/issues/15345#issuecomment-575917093](cosmoTransition issue)

After updating the numpy to the latest version I am facing this problem

royxue commented 4 years ago

@DarkKnight6777 will downgrade to older version actually make it work?