Skip to content

Commit

Permalink
Update SimulationService.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored Jun 27, 2024
1 parent b2c7cc7 commit 44aa178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SimulationService.jl
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ end

# POST /model-equation
function modelToEquation(req::HTTP.Request)
sys = amr_get(req.body, ODESystem)
amrJSON = JSON3.read(req.body)
sys = amr_get(amrJSON, ODESystem)
model_latex = latexify(sys)
return Dict([
(:latex, model_latex.s)
Expand Down

0 comments on commit 44aa178

Please sign in to comment.