Commit 9a32d00d authored by Dirk Mueller's avatar Dirk Mueller
Browse files

merge 1135931

svn path=/tags/KDE/4.4.85/kdeedu/kalgebra/; revision=1135932
parent 66b68f7c
......@@ -44,7 +44,7 @@ FunctionImpl::FunctionImpl(const Expression& newFunc, Variables* v, double defDl
func.simplify();
if(func.isCorrect()) {
Expression deriv = func.derivative();
Expression deriv = func.derivative(newFunc.bvarList().first());
if(func.isCorrect())
m_deriv = new Expression(deriv);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment