Commit a72f8e95 authored by Bentriou Mahmoud's avatar Bentriou Mahmoud
Browse files

better print

parent 36713460
...@@ -321,7 +321,7 @@ function trajectory_from_csv(csv_file, model::ContinuousTimeModel) ...@@ -321,7 +321,7 @@ function trajectory_from_csv(csv_file, model::ContinuousTimeModel)
elseif model_var == "transitions" elseif model_var == "transitions"
transitions = csv_mat_values[:,i] transitions = csv_mat_values[:,i]
else else
@assert Symbol(model_var) in model.g "Variable is not observed in the model" @assert Symbol(model_var) in model.g "Variable $(model_var) is not observed in the model"
values[model._map_obs_var_idx[Symbol(model_var)]] = csv_mat_values[:,i] values[model._map_obs_var_idx[Symbol(model_var)]] = csv_mat_values[:,i]
end end
end end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment