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
Not sure how much of a problem it is, but line 267 in geomag.py should explicity use integer division ('//') to be python3 compatible.
$ python -3
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import geomag
/usr/local/lib/python2.7/dist-packages/geomag/geomag.py:267: DeprecationWarning: classic int division
D2=(n-m+D1)/D1
the compatible version would be:
D2=(n-m+D1)//D1
(double slash to indicate integer division)
The text was updated successfully, but these errors were encountered:
Not sure how much of a problem it is, but line 267 in geomag.py should explicity use integer division ('//') to be python3 compatible.
the compatible version would be:
(double slash to indicate integer division)
The text was updated successfully, but these errors were encountered: