From a3122518d61a5931f9881308be37be7523b7b3c9 Mon Sep 17 00:00:00 2001 From: Francois Gygi Date: Thu, 30 Aug 2018 16:58:54 -0700 Subject: [PATCH] Add error msg in BisectionCmd if nkp > 1 --- src/BisectionCmd.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/BisectionCmd.h b/src/BisectionCmd.h index 6f73f81..db7c64c 100644 --- a/src/BisectionCmd.h +++ b/src/BisectionCmd.h @@ -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 ) -- libgit2 0.26.0