Commit 78612c5b by Francois Gygi

restore positive constraint on delta_spin

git-svn-id: http://qboxcode.org/svn/qb/trunk@1317 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 99854983
......@@ -44,6 +44,12 @@ class Dspin : public Var
}
int v = atoi(argv[1]);
if ( v < 0 )
{
if ( ui->onpe0() )
cout << " delta_spin must >= 0" << endl;
return 1;
}
if ( s->wf.nspin() < 2 )
{
......
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