You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when trying to simulate a free spectrum GWB with the createGWB function (specifying userSpec): TypeError: Cannot cast array data from dtype('float128') to dtype('float64') according to the rule 'safe'
Changing 3 lines of code seems to fix this for me.
I'm getting the following error when trying to simulate a free spectrum GWB with the
createGWB
function (specifyinguserSpec
):TypeError: Cannot cast array data from dtype('float128') to dtype('float64') according to the rule 'safe'
Changing 3 lines of code seems to fix this for me.
Line 799 and 800 (https://github.com/vallis/libstempo/blob/master/libstempo/toasim.py#L799) should have an extra
float()
, so they should read:And line 898 (https://github.com/vallis/libstempo/blob/master/libstempo/toasim.py#L898) should have an extra type conversion and it should read:
If people think this is right I can easily make a pull request.
The text was updated successfully, but these errors were encountered: