mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/probability] Improve the law model using the evaluate context
Change-Id: I33b9c9ce0a8120ff66ea6614fa7c5ac58a59b572
This commit is contained in:
@@ -5,14 +5,14 @@ namespace Probability {
|
||||
|
||||
App::App(Container * container, Context * context) :
|
||||
::App(container, &m_stackViewController, "Probability", ImageStore::ProbabilityIcon),
|
||||
m_context(context),
|
||||
m_lawController(LawController(nullptr)),
|
||||
m_evaluateContext(EvaluateContext(context)),
|
||||
m_lawController(LawController(nullptr, &m_evaluateContext)),
|
||||
m_stackViewController(&m_modalViewController, &m_lawController, true)
|
||||
{
|
||||
}
|
||||
|
||||
Context * App::evaluateContext() {
|
||||
return m_context;
|
||||
return &m_evaluateContext;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user