mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 00:30:46 +01:00
[poincare] Fix SquareRoot layout creation.
Change-Id: I9985735a5a00b1acf14993996f63be5dc91d9c14
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user