misc fixes

- 2to3 on setup.py to allow python 3 import
- removed uneeded circular import in Maps.py
- added missing old_div o mathutils
This commit is contained in:
2016-07-21 14:20:37 +08:00
parent f7a70aa6a7
commit 714afa860f
3 changed files with 3 additions and 11 deletions
+1 -2
View File
@@ -9,6 +9,7 @@ from builtins import object
import numpy as np
import scipy.sparse as sp
from .codeutils import isScalar
from past.utils import old_div
def mkvc(x, numDims=1):
"""Creates a vector with the number of dimension specified
@@ -472,5 +473,3 @@ class Identity(object):
def __ne__(self, v):return (not (1 == v))if self._positive else (not (-1 == v))
def __ge__(self, v):return 1 >= v if self._positive else -1 >= v
def __gt__(self, v):return 1 > v if self._positive else -1 > v