@@ -330,17 +330,17 @@ struct MissingGuessError <: Exception
330330 vals:: Vector{Any}
331331end
332332
333- function Base. showerror (io:: IO , err:: MissingGuessError )
334- println (io,
335- """
336- Cyclic guesses detected in the system. Symbolic values were found for the following variables/parameters in the map: \
337- """ )
333+ function Base. showerror (io:: IO , err:: MissingGuessError )
334+ println (io,
335+ """
336+ Cyclic guesses detected in the system. Symbolic values were found for the following variables/parameters in the map: \
337+ """ )
338338 for (sym, val) in zip (err. syms, err. vals)
339339 println (io, " $sym => $val " )
340340 end
341341 println (io,
342- """
343- In order to resolve this, please provide additional numeric guesses so that the chain can be resolved to assign numeric values to each variable. """ )
342+ """
343+ In order to resolve this, please provide additional numeric guesses so that the chain can be resolved to assign numeric values to each variable. """ )
344344end
345345
346346"""
@@ -364,7 +364,8 @@ Keyword arguments:
364364"""
365365function better_varmap_to_vars (varmap:: AbstractDict , vars:: Vector ;
366366 tofloat = true , use_union = true , container_type = Array,
367- toterm = default_toterm, promotetoconcrete = nothing , check = true , allow_symbolic = false , is_initializeprob = false )
367+ toterm = default_toterm, promotetoconcrete = nothing , check = true ,
368+ allow_symbolic = false , is_initializeprob = false )
368369 isempty (vars) && return nothing
369370
370371 if check
@@ -382,8 +383,8 @@ function better_varmap_to_vars(varmap::AbstractDict, vars::Vector;
382383 end
383384
384385 if ! isempty (missingsyms)
385- is_initializeprob ? throw (MissingGuessError (missingsyms, missingvals)) :
386- throw (UnexpectedSymbolicValueInVarmap (missingsyms[1 ], missingvals[1 ]))
386+ is_initializeprob ? throw (MissingGuessError (missingsyms, missingvals)) :
387+ throw (UnexpectedSymbolicValueInVarmap (missingsyms[1 ], missingvals[1 ]))
387388 end
388389 end
389390
0 commit comments