Commit 8121bd32 authored by Houtan Bastani's avatar Houtan Bastani

MS-SBVAR: argument check for ms_compute_probabilities

parent 1631e0f1
......@@ -992,6 +992,14 @@ void
MSSBVARComputeProbabilitiesStatement::checkPass(ModFileStructure &mod_file_struct)
{
mod_file_struct.bvar_present = true;
if (options_list.num_options.find("ms.real_time_smoothed_probabilities") != options_list.num_options.end())
if (options_list.num_options.find("ms.filtered_probabilities") != options_list.num_options.end())
{
cerr << "ERROR: You may only pass one of real_time_smoothed "
<< "and filtered_probabilities to ms_compute_probabilities." << endl;
exit(EXIT_FAILURE);
}
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment