Changeset 26549


Ignore:
Timestamp:
11/05/21 14:31:42 (3 years ago)
Author:
vverjans
Message:

BUG: fixed use of self.covariance in stochasticforcing.m

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/stochasticforcing.m

    r26532 r26549  
    8484                                                inds = [1+sum(self.dimensions(1:i-1)):1:sum(self.dimensions(1:i))];
    8585                                                for row=inds %scale rows corresponding to scaled field
    86                                                         tempcovariance(row,:) = 1./yts*self.covariance(row,:);
     86                                                        tempcovariance(row,:) = 1./yts*tempcovariance(row,:);
    8787                                                end
    8888                                                for col=inds %scale columns corresponding to scaled field
    89                                                         tempcovariance(:,col) = 1./yts*self.covariance(:,col);
     89                                                        tempcovariance(:,col) = 1./yts*tempcovariance(:,col);
    9090                                                end
    9191                                        end
Note: See TracChangeset for help on using the changeset viewer.