In the tutorial it is said to
Lastly, replace
sqrt
with our library functionmathfunctions::mysqrt
.
However, the functionmysqrt
is in namespace mathfunctions::detail
not just mathfunctions
. There is a wrapper mathfunctions::sqrt
which I believe should be mentioned instead. It is also written that way in the solution.