fixed: projectSolution for 0 secondary solutions in ASMs3D

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1394 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva 2012-01-13 13:42:30 +00:00 committed by Knut Morten Okstad
parent 2e2cbee235
commit 618e7bc929

View File

@ -2018,7 +2018,7 @@ Go::SplineVolume* ASMs3D::projectSolution (const Integrand& integrand) const
// Evaluate the secondary solution at all sampling points
Matrix sValues;
if (!this->evalSolution(sValues,integrand,gpar))
if (!this->evalSolution(sValues,integrand,gpar) || sValues.rows() == 0)
return 0;
// Project the results onto the spline basis to find control point