Commit 3314c8d4 authored by Pino Toscano's avatar Pino Toscano

fix default value

fixes commit 367934f2
parent 5d62f71f
......@@ -33,7 +33,7 @@ using namespace Analitza;
class FunctionPolar : public AbstractPlaneCurve
{
public:
FunctionPolar(const Analitza::Expression& e, const QSharedPointer<Analitza::Variables>& v = 0);
FunctionPolar(const Analitza::Expression& e, const QSharedPointer<Analitza::Variables>& v = {});
TYPE_NAME(QT_TRANSLATE_NOOP("Function type", "Polar Curve r=F(p: Polar)"))
EXPRESSION_TYPE(Analitza::ExpressionType(Analitza::ExpressionType::Lambda).addParameter(
Analitza::ExpressionType(Analitza::ExpressionType::Value)).addParameter(
......
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