mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[apps/reg] Fix logistic formula
This commit is contained in:
@@ -11,8 +11,9 @@ ExpressionLayout * LogisticModel::layout() {
|
||||
static ExpressionLayout * layout = nullptr;
|
||||
if (layout == nullptr) {
|
||||
const ExpressionLayout * layoutChildren[] = {
|
||||
new CharLayout('a', KDText::FontSize::Small),
|
||||
new CharLayout('1', KDText::FontSize::Small),
|
||||
new CharLayout('+', KDText::FontSize::Small),
|
||||
new CharLayout('a', KDText::FontSize::Small),
|
||||
new CharLayout('e', KDText::FontSize::Small),
|
||||
new VerticalOffsetLayout(
|
||||
new HorizontalLayout(
|
||||
@@ -25,7 +26,7 @@ ExpressionLayout * LogisticModel::layout() {
|
||||
};
|
||||
layout = new FractionLayout(
|
||||
new CharLayout('c', KDText::FontSize::Small),
|
||||
new HorizontalLayout(layoutChildren, 4, false),
|
||||
new HorizontalLayout(layoutChildren, 5, false),
|
||||
false);
|
||||
}
|
||||
return layout;
|
||||
|
||||
Reference in New Issue
Block a user