Dear All,
I am getting the following error in MacOS Mojave. I am new to Python. numpy version:1.18.1, scipy version: 1.4.1, matplotlib version: 3.2.0.
Thanks,
S Rakshit
-----------------output------------------
Rakshits-MacBook:sr-test rakshit$ ipython3
Python 3.7.7 (default, Mar 10 2020, 15:43:03)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from testModel1 import model1
In [2]: m=model1()
In [3]: alltrans=m.findAllTransitions()
Tracing phase starting at x = [295.56323266 406.39105772] ; t = 0.0
Tracing minimum up
traceMinimum t0 = 0
.................................................................................................................
Tracing phase starting at x = [ 215.33159683 -149.94745675] ; t = 118.20010359187555
Tracing minimum down
traceMinimum t0 = 118.2
........................................................................................
Tracing minimum up
traceMinimum t0 = 118.2
...............................................................................................................................................................................................
Tracing phase starting at x = [ 0.00116792 -0.00088472] ; t = 223.70229847224445
Tracing minimum down
traceMinimum t0 = 223.702
...................
Tracing minimum up
traceMinimum t0 = 223.702
............................................
Tunneling from phase 1 to phase 0 at T=77.61682
high_vev = [ 234.29595961 -111.48237945]
low_vev = [289.27693899 389.92592893]
The entire problem comes from lines 116-121 of the function_base.py code of numpy. If I comment them out Cosmotransitions runs smoothly! But should I comment out these lines?
Dear All, I am getting the following error in MacOS Mojave. I am new to Python. numpy version:1.18.1, scipy version: 1.4.1, matplotlib version: 3.2.0. Thanks, S Rakshit
-----------------output------------------ Rakshits-MacBook:sr-test rakshit$ ipython3 Python 3.7.7 (default, Mar 10 2020, 15:43:03) Type 'copyright', 'credits' or 'license' for more information IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from testModel1 import model1
In [2]: m=model1()
In [3]: alltrans=m.findAllTransitions()
Tracing phase starting at x = [295.56323266 406.39105772] ; t = 0.0 Tracing minimum up traceMinimum t0 = 0 ................................................................................................................. Tracing phase starting at x = [ 215.33159683 -149.94745675] ; t = 118.20010359187555 Tracing minimum down traceMinimum t0 = 118.2 ........................................................................................ Tracing minimum up traceMinimum t0 = 118.2 ............................................................................................................................................................................................... Tracing phase starting at x = [ 0.00116792 -0.00088472] ; t = 223.70229847224445 Tracing minimum down traceMinimum t0 = 223.702 ................... Tracing minimum up traceMinimum t0 = 223.702 ............................................ Tunneling from phase 1 to phase 0 at T=77.61682 high_vev = [ 234.29595961 -111.48237945] low_vev = [289.27693899 389.92592893]
TypeError Traceback (most recent call last) /usr/local/lib/python3.7/site-packages/numpy/core/function_base.py in linspace(start, stop, num, endpoint, retstep, dtype, axis) 116 try: --> 117 num = operator.index(num) 118 except TypeError:
TypeError: 'numpy.float64' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)