Changeset 25940


Ignore:
Timestamp:
01/15/21 15:19:16 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing wrong size of vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/contrib/morlighem/ad/rescalegradient.m

    r24627 r25940  
    1414        disp('Constructing mass matrix...');
    1515        tic
    16         row   = zeros(10*md.mesh.numberofvertices);
    17         col   = zeros(10*md.mesh.numberofvertices);
    18         value = zeros(10*md.mesh.numberofvertices);
     16        row   = zeros(10*md.mesh.numberofvertices,1);
     17        col   = zeros(10*md.mesh.numberofvertices,1);
     18        value = zeros(10*md.mesh.numberofvertices,1);
    1919
    2020        %Construct mass matrix using MATLAB's sparse function
Note: See TracChangeset for help on using the changeset viewer.