jronayne / PyTransport

A Python Package for the calculation of inflationary correlation functions.
Other
14 stars 3 forks source link

[JOSS] Python 3 #6

Closed joezuntz closed 6 years ago

joezuntz commented 6 years ago

The installation instructions say that the code will work on python3, but I get an error: TabError: inconsistent use of tabs and spaces in indentation in the PyTransport/PyTransSetup.py file

joezuntz commented 6 years ago

This seems to come from this line: vd[i] = sym.simplify(V.diff(f[i]))

jronayne commented 6 years ago

I have corrected for the inconsistency in the use of tabs and spacing in the PyTransSetup.py file. It should no longer throw out any errors.

joezuntz commented 6 years ago

Thanks - this works for me now, though in some of the examples I had to add parentheses to print calls. i.e. "print x" -> "print(x)" Thanks!