Skip to content

Commit 651a216

Browse files
committed
update comment
1 parent 0f85bef commit 651a216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ end
150150

151151
function replace_intevals!(expr, intervals)
152152
#replace variables with their intervals
153-
expr_str = replace(string(expr), ", " => ",") #remove any blank space
153+
expr_str = replace(string(expr), ", " => ",") #remove any blank space after index commas
154154
if expr_str in keys(intervals) #check if expression is one of the model variables in the intervals dict
155155
return intervals[expr_str] #replace expression with interval
156156
elseif expr isa Expr

0 commit comments

Comments
 (0)