Changeset 22750


Ignore:
Timestamp:
05/08/18 09:32:53 (7 years ago)
Author:
erobo
Message:

CHG: fixed handling of matrices in results, no need to transpose, fread takes care of reading the matrix and putting it in the appropriate format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/parseresultsfromdisk.m

    r22741 r22750  
    153153        elseif type==3,
    154154                N=fread(fid,1,'int');
    155                 field=transpose(fread(fid,[N M],'double'));
     155                field=fread(fid,[M N],'double');
    156156        elseif type==4,
    157157                N=fread(fid,1,'int');
    158                 field=transpose(fread(fid,[N M],'int'));
     158                field=fread(fid,[M N],'int');
    159159        else
    160160                error(['cannot read data of type ' num2str(type) ]);
Note: See TracChangeset for help on using the changeset viewer.