The logic for checking combination of parameters could to a better job of detecting models w/ no params and not complain if user requests "num_warmup=0" w/out requirement "adapt engaged=false".
Description:
In file command.hpp, add check for model w/ 0 params to line 565, as in line 574.
Summary:
The logic for checking combination of parameters could to a better job of detecting models w/ no params and not complain if user requests "num_warmup=0" w/out requirement "adapt engaged=false".
Description:
In file
command.hpp
, add check for model w/ 0 params to line 565, as in line 574.https://github.com/stan-dev/cmdstan/blob/509cb59601f1423096da6f9502278500de1438a2/src/cmdstan/command.hpp#L565-L574
Reproducible Steps:
run any Stan program w/out a model block, specify
num_warmup=0
, and it will error.Current Output:
error message:
Expected Output:
Should just run.
Current Version:
v2.35.0