Skip to content

Commit

Permalink
Merge pull request #98 from poncateam/fix_dtau
Browse files Browse the repository at this point in the history
  • Loading branch information
nmellado authored Jul 6, 2023
2 parents 493df42 + a751a5c commit b9402b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ponca/src/Fitting/gls.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GLSDer <DataPoint, _WFunctor, DiffType, T>::dtau() const
ScalarArray dfield = Base::m_dUc;
// Recall that tau is the field function at the evaluation point, we thus must take care about
// its variation when differentiating in space:
if(this->isScaleDer())
if(this->isSpaceDer())
dfield.template tail<DataPoint::Dim>() += Base::m_ul;

return (dfield * prattNorm - Base::m_uc * cfactor * Base::dprattNorm2()) / prattNorm2;
Expand Down

0 comments on commit b9402b3

Please sign in to comment.