Changeset 9195


Ignore:
Timestamp:
Jun 18, 2014, 10:31:29 PM (10 years ago)
Author:
steve
Message:

Picked up error from contiguous array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/utilities/plot_utils.py

    r9194 r9195  
    942942    #index_qFun=scipy.interpolate.LinearNDInterpolator(swwXY,scipy.arange(len(swwX),dtype='int64').transpose())
    943943
    944     gridXY_array=scipy.array([scipy.concatenate(gridX),scipy.concatenate(gridY)]).transpose()
     944    gridXY_array=scipy.ascontiguousarray([scipy.concatenate(gridX),scipy.concatenate(gridY)]).transpose()
    945945    gridqInd=index_qFun(gridXY_array)
    946946
Note: See TracChangeset for help on using the changeset viewer.