in pmx_solve_xxx functions cmt is not allowed to be negative.
Example
Negative compartment id gives
Exception: xxxx_model_namespace::xxxx_model: cmt[i_0__] is -1, but must be greater than or equal to 1
Expected Output
Follow NONMEM behavior:
When CMT specifies the output compartment, it is allowed to have a negative sign (e.g., with the One-compartment model, CMT may be -2). This signals that after the prediction is computed the out- put compartment is to be turned off, i.e. the amount in the compartment is to be set to zero. The amount remains zero until the compartment is subsequently turned on. This is quite useful with urine observations
Description
in
pmx_solve_xxx
functionscmt
is not allowed to be negative.Example
Negative compartment id gives
Expected Output
Follow NONMEM behavior:
Current Version:
v0.87.1