Skip to content

Commit aee25bb

Browse files
committed
minor
1 parent c4b3c60 commit aee25bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StationaryDist/StationaryDist_Case1_IterationTan_raw.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
if rem(counter,simoptions.multiiter)==0
4141
StationaryDistKronOld=StationaryDistKron;
4242
elseif rem(counter,simoptions.multiiter)==10
43-
currdist=full(max(abs(StationaryDistKron-StationaryDistKronOld)));
43+
currdist=max(abs(StationaryDistKron-StationaryDistKronOld));
4444
end
4545

4646
counter=counter+1;
4747

4848
if simoptions.verbose==1
4949
if rem(counter,50)==0
50-
fprintf('StationaryDist_Case1: after %i iterations the current distance ratio is %8.6f (currdist/tolerance, convergence when reaches 1) \n', counter, currdist/simoptions.tolerance)
50+
fprintf('StationaryDist_Case1: after %i iterations the current distance ratio is %8.6f (currdist/tolerance, convergence when reaches 1) \n', counter, full(currdist)/simoptions.tolerance)
5151
end
5252
end
5353
end

0 commit comments

Comments
 (0)