Commit 0ec9ba74 by Francois Gygi

set wfv to use same ctxt as s_.wf

git-svn-id: http://qboxcode.org/svn/qb/trunk@1296 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 0fdcaabd
......@@ -72,7 +72,8 @@ StructureHandler* SampleHandler::startSubHandler(const XMLCh* const uri,
else if ( qnm == "wavefunction_velocity" )
{
read_wfv = true;
s_.wfv = new Wavefunction(s_.ctxt_);
assert(read_wf);
s_.wfv = new Wavefunction(s_.wf);
return new WavefunctionHandler(*s_.wfv,gfdata_);
}
else
......
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