Changeset 17922


Ignore:
Timestamp:
05/02/14 13:13:58 (11 years ago)
Author:
cborstad
Message:

BUG: coerce matrix to csc for each iteration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/interp/averaging.py ΒΆ

    r17921 r17922  
    8686                average_node=csc_matrix( (npy.tile(areas*average_el.reshape(-1),(rep,1)).reshape(-1,),(line,npy.zeros(linesize,))), shape=(numberofnodes,1))
    8787                average_node=average_node/weights
     88                average_node=csc_matrix(average_node)
    8889       
    8990        #return output as a full matrix (C code do not like sparse matrices)
Note: See TracChangeset for help on using the changeset viewer.