Skip to content

Commit

Permalink
Allow Uniform1 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jul 18, 2023
1 parent 8368831 commit 1f53369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SimulationService"
uuid = "e66378d9-a322-4933-8764-0ce0bcab4993"
authors = ["Five Grant <[email protected]>"]
version = "0.14.2"
version = "0.14.3"

[deps]
AMQPClient = "79c8b4cd-a41a-55fa-907c-fab5288e1383"
Expand Down
2 changes: 1 addition & 1 deletion src/operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function amr_get(amr::JSON3.Object, sys::ODESystem, ::Val{:priors})
map(amr.semantics.ode.parameters) do p
if haskey(p, :distribution)
# Assumption: only fit parameters which have a distribution / bounds
if p.distribution.type !== "StandardUniform1"
if p.distribution.type != "StandardUniform1" || p.distribution.type != "Uniform1"
@info "Invalid distribution type! Distribution type was $(p.distribution.type)"
end

Expand Down

0 comments on commit 1f53369

Please sign in to comment.