Skip to content
Snippets Groups Projects
Verified Commit 9794f628 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Do not print vectors of variables without concrete values

parent 1e2c21e6
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,12 @@ function _robust_value(possible_number::VariableType)
end
end
_robust_value(possible_vector::AbstractVector) = _robust_value.(possible_vector)
function _robust_value(possible_vector::AbstractVector)
result = _robust_value.(possible_vector)
if any(isnothing.(result))
return nothing
end
end
function Base.show(io::IO, printer::BuildingBlockPrinter)
block = printer.bb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment