mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031697: Foundation Classes - Expr_GeneralExpression::Derivative does not seem to work (691 & 720)
Expr_NamedUnknown.cxx - wrong comparing of named unknown is fixed QABugs_20.cxx - new QAcommand is created QABugs_11.cxx - wrong command is corrected bug902 - wrong test is corrected bug31697 - new test is added
This commit is contained in:
@@ -130,7 +130,7 @@ Standard_Boolean Expr_NamedUnknown::IsLinear () const
|
||||
Handle(Expr_GeneralExpression) Expr_NamedUnknown::Derivative (const Handle(Expr_NamedUnknown)& X) const
|
||||
{
|
||||
Handle(Expr_NamedUnknown) me = this;
|
||||
if (me != X) {
|
||||
if (!me->IsIdentical(X)) {
|
||||
if (IsAssigned()) {
|
||||
return myExpression->Derivative(X);
|
||||
}
|
||||
|
Reference in New Issue
Block a user