Commit e800eeb3 by Francois Gygi

Fix PlotCmd argument parsing for -vlocal with nspin=2

parent 23da6945
......@@ -146,7 +146,7 @@ int PlotCmd::action(int argc, char **argv)
}
else if ( !strcmp(argv[iarg],"-spin") )
{
if ( !(plot_density || plot_wf || plot_wfs) )
if ( !(plot_density || plot_wf || plot_wfs || plot_vlocal) )
{
if ( ui->onpe0() )
cout << usage << endl;
......
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