Skip to content
Snippets Groups Projects
Commit f6542b72 authored by Sebastian Henz's avatar Sebastian Henz
Browse files

Fix check error

parent a3617ca4
No related branches found
No related tags found
1 merge request!30version 3.0.0
......@@ -162,7 +162,7 @@ ecxsys <- function(concentration,
if (any(is.na(c(all_observations, concentration)))) {
stop("Values containing NA are not supported.")
}
if (any(all_observations > survival_max || all_observations < 0)) {
if (any(all_observations > survival_max | all_observations < 0)) {
stop("Observed survival must be between 0 and survival_max.")
}
conc_shift <- 2 # Powers of ten to shift the control downwards from the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment