From 1f53369d0727fc3e66261c9e91325544a534a616 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 18 Jul 2023 18:00:07 -0400 Subject: [PATCH] Allow Uniform1 (#99) --- Project.toml | 2 +- src/operations.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 9f0b7ae..e74b04e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SimulationService" uuid = "e66378d9-a322-4933-8764-0ce0bcab4993" authors = ["Five Grant <5@fivegrant.com>"] -version = "0.14.2" +version = "0.14.3" [deps] AMQPClient = "79c8b4cd-a41a-55fa-907c-fab5288e1383" diff --git a/src/operations.jl b/src/operations.jl index 0a82e15..9b4b49e 100644 --- a/src/operations.jl +++ b/src/operations.jl @@ -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