Commit a3122518 by Francois Gygi

Add error msg in BisectionCmd if nkp > 1

parent cd77e32a
......@@ -74,6 +74,15 @@ class BisectionCmd : public Cmd
return 1;
}
if ( wf.nkp() > 1 )
{
if ( ui->onpe0() )
{
cout << " BisectionCmd: only implemented for k=0" << endl;
}
return 1;
}
if ( nLevels[0] < 0 || nLevels[0] > 5 ||
nLevels[1] < 0 || nLevels[1] > 5 ||
nLevels[2] < 0 || nLevels[2] > 5 )
......
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