Question about "derivative()" method in class "ExpressionSqrt"
MrSoul8715 opened this issue · 1 comments
MrSoul8715 commented
Hi, I've meet some problem when reading code "derivative()" in file "expressionParser.cpp". In this method, the statement "return operand->derivative(var)/sqrt(operand->clone());" seems to be wrong. The correct way maybe "return operand->derivative(var)/ (exprValue(2.0)*sqrt(operand->clone()));". Thanks for reading.
tmayerguerr commented
Hi,
You are right. We fixed the bug. Thanks for your help.
Best regards
Torsten