mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
15 lines
257 B
C++
15 lines
257 B
C++
#include "equation_store.h"
|
|
|
|
namespace Solver {
|
|
|
|
Equation * EquationStore::emptyModel() {
|
|
static Equation e;
|
|
return &e;
|
|
}
|
|
|
|
void EquationStore::setModelAtIndex(Shared::ExpressionModel * e, int i) {
|
|
m_equations[i] = *(static_cast<Equation *>(e));;
|
|
}
|
|
|
|
}
|