Skip to content

Commit

Permalink
alternative maxTemp update (prior one threw occasional error)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosciessa committed Aug 7, 2024
1 parent d83e970 commit 86314ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/run_heating_simulations.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
CEM43(:,:,cur_timepoint) = squeeze(curCEM43(:,trans_pos(2),:));

% update maxT and maxCEM43 where applicable
maxT(curT>maxT) = curT(curT>maxT);
maxCEM43(curCEM43>maxCEM43) = curCEM43(curCEM43>maxCEM43);
maxT = max(maxT, curT);
maxCEM43 = max(maxCEM43, curCEM43);

% Pulse off
if off_steps_n>0
Expand Down

0 comments on commit 86314ef

Please sign in to comment.