diff --git a/exercice_2/src/compute_arithmetic.cc b/exercice_2/src/compute_arithmetic.cc index c4fb12d..8e62239 100644 --- a/exercice_2/src/compute_arithmetic.cc +++ b/exercice_2/src/compute_arithmetic.cc @@ -1,15 +1,15 @@ #include "compute_arithmetic.hh" /* -------------------------------------------------------------------------- */ ComputeArithmetic::~ComputeArithmetic() = default; double ComputeArithmetic::compute(unsigned int N) { - this-> compute(N); + this-> computeTerm(N); return current_value; } double ComputeArithmetic::computeTerm(unsigned int k){ return k; }