Skip to content

Commit

Permalink
Merge branch 'master' into RimlsPlaneFit
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineLafon authored Jul 7, 2023
2 parents 41e9221 + b9402b3 commit 9ec72f5
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 9ec72f5

Please sign in to comment.