Skip to content

Commit 2c0159f

Browse files
committed
Hide result only if hideResult=true
1 parent 50ae82a commit 2c0159f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelCollections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function flattenModelTuple!(model, modelStructure, modelName, to; unitless = fal
548548
if :_outer in keys(v) && v[:_outer]
549549
push!(modelStructure.equations, :($k = $(prepend(k, :up))))
550550
end
551-
if :hideResult in keys(v)
551+
if :hideResult in keys(v) && v[:hideResult] == true
552552
push!(modelStructure.hideResults, subMod)
553553
end
554554
elseif isCollection(v) # || typeof(v) == Symbol # instantiate

0 commit comments

Comments
 (0)