-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels