Open chadagreene opened 3 months ago
I agree, we should delete all occurrences of unused variables that are likely introduces during development
Isn't it used on line 130 to throw a warning?
@NJSchlegel Nope, surplusT
is never actually used. Line 130 just says:
surplusT=max(0, exsT(i) - LF/CI);
surplusE=surpE(i);
display([' WARNING: surplus energy at the base of GEMB column' newline])
Got it, the value is actually stored instead in surpT in this loop. Probably was used for printing the values in the warning statement and some point.
@alex-s-gardner There are a handful of variables in
melt.m
that never get used (e.g.,surplusT
). Do I have your blessing to delete them?