Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: fix dtype comparison on big-endian machines. Closes ticket 1680.

  • Loading branch information...
commit 6c0202527dd4e676d99648bd268a9f453de13a06 1 parent 51f3b8a
@rgommers rgommers authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scipy/sparse/linalg/dsolve/umfpack/
4 scipy/sparse/linalg/dsolve/umfpack/
@@ -345,10 +345,10 @@ def _getIndx( self, mtx ):
raise ValueError('matrix must have long indices')
if self.isReal:
- if != np.dtype('<f8'):
+ if != np.dtype('f8'):
raise ValueError('matrix must have float64 values')
- if != np.dtype('<c16'):
+ if != np.dtype('c16'):
raise ValueError('matrix must have complex128 values')
return indx
Please sign in to comment.
Something went wrong with that request. Please try again.