From fa1dcbf434df0fc9466b3216b4e34b8fea93f99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Fri, 26 Jan 2018 15:03:47 +0100 Subject: [PATCH] [poincare] Fix SquareRoot layout creation. Change-Id: I9985735a5a00b1acf14993996f63be5dc91d9c14 --- poincare/src/square_root.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/square_root.cpp b/poincare/src/square_root.cpp index ccb695d2d..37cf805a0 100644 --- a/poincare/src/square_root.cpp +++ b/poincare/src/square_root.cpp @@ -52,7 +52,7 @@ Expression * SquareRoot::shallowReduce(Context& context, AngleUnit angleUnit) { ExpressionLayout * SquareRoot::privateCreateLayout(FloatDisplayMode floatDisplayMode, ComplexFormat complexFormat) const { assert(floatDisplayMode != FloatDisplayMode::Default); assert(complexFormat != ComplexFormat::Default); - return new NthRootLayout(operand(0)->createLayout(floatDisplayMode, complexFormat), nullptr, false); + return new NthRootLayout(operand(0)->createLayout(floatDisplayMode, complexFormat), false); } }