[Scipy-tickets] [SciPy] #1830: ValueError: Buffer and memoryview are not contiguous in the same dimension.

SciPy Trac scipy-tickets@scipy....
Fri Feb 1 04:13:24 CST 2013


#1830: ValueError: Buffer and memoryview are not contiguous in the same dimension.
--------------------------------+-------------------------------------------
  Reporter:  nils               |       Owner:  pv         
      Type:  defect             |      Status:  closed     
  Priority:  normal             |   Milestone:  Unscheduled
 Component:  scipy.interpolate  |     Version:  0.11.0     
Resolution:  invalid            |    Keywords:             
--------------------------------+-------------------------------------------
Changes (by pv):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Occurs only on Numpy master, not on 1.6.2/1.7.x

 This is a Numpy bug, I believe, as the offending code is
 {{{
 cdef double[:,::1] data
 ...
 y = np.ascontiguousarray(y, dtype=np.double)
 data = y
 }}}

 Numpy issue: https://github.com/numpy/numpy/issues/2956

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1830#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list