diff --git a/src/building_blocks.jl b/src/building_blocks.jl index ba42e38662bd9f643b06644e749f7979a3b5f442..1419e60d73fe74655adf924aeeb8985304e40b1f 100644 --- a/src/building_blocks.jl +++ b/src/building_blocks.jl @@ -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