Skip to content

Commit

Permalink
Merge pull request #306 from mrc-ide/mrc-4636
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Oct 4, 2023
2 parents 09dea08 + cd084e7 commit c51efee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: odin
Title: ODE Generation and Integration
Version: 1.5.8
Version: 1.5.9
Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"),
email = "rich.fitzjohn@gmail.com"),
person("Thibaut", "Jombart", role = "ctb"),
Expand Down
2 changes: 2 additions & 0 deletions R/ir_serialise.R
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ ir_serialise_expression <- function(expr) {
jsonlite::unbox(as.character(expr))
} else if (is.atomic(expr)) {
jsonlite::unbox(expr)
} else if (is.null(expr)) {
NULL
} else if (is.call(expr)) {
c(list(jsonlite::unbox(as.character(expr[[1L]]))),
lapply(expr[-1L], ir_serialise_expression))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ In other languages:

* [`Paraiso`](https://hackage.haskell.org/package/Paraiso) in Haskell
* [`VFGEN`](https://github.com/WarrenWeckesser/vfgen) in C++
* [`pygom`](https://github.com/PublicHealthEngland/pygom) in Python for solving compartmental models
* [`pygom`](https://github.com/ukhsa-collaboration/pygom) in Python for solving compartmental models

## Installation

Expand Down

0 comments on commit c51efee

Please sign in to comment.