Files
Upsilon/apps/probability/calculation.cpp
Émilie Feral fbadd2ef0e [apps/probability] Change Calculation API (adding heritage)
Change-Id: I56b4391b22086d5296ec034a29378e7b068253a9
2016-12-16 12:58:49 +01:00

18 lines
211 B
C++

#include "calculation.h"
#include <assert.h>
#include <math.h>
namespace Probability {
Calculation::Calculation():
m_law(nullptr)
{
}
void Calculation::setLaw(Law * law) {
m_law = law;
compute(0);
}
}