Skip to content
Snippets Groups Projects
Commit 8926f36d authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

bugfixes in the new assembleHessian method

[[Imported from SVN: r5599]]
parent a12175ec
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ public:
Dune::FieldMatrix<double,size,size>& matrix) const
{
matrix = 0;
for (int i=0; i<dim+1; i++)
matrix.axpy(w[i], TargetSpace::secondDerivativeOfDistanceSquaredWRTSecondArgument(coefficients_[i], q));
for (int i=0; i<coefficients_.size(); i++)
matrix.axpy(weights_[i], TargetSpace::secondDerivativeOfDistanceSquaredWRTSecondArgument(coefficients_[i], x));
}
const std::vector<TargetSpace> coefficients_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment