// assert(prior_options_ != nullptr && "prior options have already been applied");
assert(prior_options_!=nullptr&&"prior options have already been applied");
// assert(prior_options_->mode == "" && "prior options have already been set");
assert(prior_options_->mode==""&&"prior options have already been set");
// assert((_mode == "nothing" || _mode == "initial_guess" || _mode == "fix" || _mode == "factor") && "wrong _mode value, it should be: 'nothing', 'initial_guess', 'fix' or 'factor'");
assert((_mode=="nothing"||_mode=="initial_guess"||_mode=="fix"||_mode=="factor")&&"wrong _mode value, it should be: 'nothing', 'initial_guess', 'fix' or 'factor'");
//
// // Store options (optionals depending on the mode)
// Store options (optionals depending on the mode)
// WOLF_TRACE("prior mode: ", _mode);
WOLF_TRACE("prior mode: ",_mode);
// prior_options_->mode = _mode;
prior_options_->mode=_mode;
//
// if (prior_options_->mode != "nothing")
if(prior_options_->mode!="nothing")
// {
{
// assert(_time_tolerance > 0 && "time tolerance should be bigger than 0");
assert(_time_tolerance>0&&"time tolerance should be bigger than 0");