diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc index d3221fedb..9a36a71e7 100644 --- a/mex/sources/bytecode/Evaluate.cc +++ b/mex/sources/bytecode/Evaluate.cc @@ -1,5 +1,5 @@ /* - * Copyright © 2013-2021 Dynare Team + * Copyright © 2013-2022 Dynare Team * * This file is part of Dynare. * @@ -27,15 +27,6 @@ extern "C" bool utIsInterruptPending(); #endif -Evaluate::Evaluate() -{ - symbol_table_endo_nbr = 0; - Block_List_Max_Lag = 0; - Block_List_Max_Lead = 0; - u_count_int = 0; - block = -1; -} - Evaluate::Evaluate(int y_size_arg, int y_kmin_arg, int y_kmax_arg, bool print_it_arg, bool steady_state_arg, int periods_arg, int minimal_solving_periods_arg, double slowc_arg) : print_it(print_it_arg), minimal_solving_periods(minimal_solving_periods_arg) { diff --git a/mex/sources/bytecode/Evaluate.hh b/mex/sources/bytecode/Evaluate.hh index c498dff28..68964343e 100644 --- a/mex/sources/bytecode/Evaluate.hh +++ b/mex/sources/bytecode/Evaluate.hh @@ -1,5 +1,5 @@ /* - * Copyright © 2007-2021 Dynare Team + * Copyright © 2007-2022 Dynare Team * * This file is part of Dynare. * @@ -73,7 +73,6 @@ protected: public: bool steady_state; double slowc; - Evaluate(); Evaluate(int y_size_arg, int y_kmin_arg, int y_kmax_arg, bool print_it_arg, bool steady_state_arg, int periods_arg, int minimal_solving_periods_arg, double slowc); void set_block(int size_arg, int type_arg, string file_name_arg, string bin_base_name_arg, int block_num_arg, bool is_linear_arg, int symbol_table_endo_nbr_arg, int Block_List_Max_Lag_arg, int Block_List_Max_Lead_arg, int u_count_int_arg, int block_arg); diff --git a/mex/sources/bytecode/SparseMatrix.cc b/mex/sources/bytecode/SparseMatrix.cc index c36bbc708..76bc87b1b 100644 --- a/mex/sources/bytecode/SparseMatrix.cc +++ b/mex/sources/bytecode/SparseMatrix.cc @@ -22,27 +22,6 @@ #include "SparseMatrix.hh" -dynSparseMatrix::dynSparseMatrix() -{ - pivotva = nullptr; - g_save_op = nullptr; - g_nop_all = 0; - mem_mngr.init_Mem(); - symbolic = true; - alt_symbolic = false; - alt_symbolic_count = 0; - max_u = 0; - min_u = 0x7FFFFFFF; - res1a = 9.0e60; - tbreak_g = 0; - start_compare = 0; - restart = 0; - IM_i.clear(); - lu_inc_tol = 1e-10; - Symbolic = nullptr; - Numeric = nullptr; -} - dynSparseMatrix::dynSparseMatrix(int y_size_arg, int y_kmin_arg, int y_kmax_arg, bool print_it_arg, bool steady_state_arg, int periods_arg, int minimal_solving_periods_arg, double slowc_arg) : Evaluate(y_size_arg, y_kmin_arg, y_kmax_arg, print_it_arg, steady_state_arg, periods_arg, minimal_solving_periods_arg, slowc_arg) diff --git a/mex/sources/bytecode/SparseMatrix.hh b/mex/sources/bytecode/SparseMatrix.hh index 817184f21..6cb7b54f1 100644 --- a/mex/sources/bytecode/SparseMatrix.hh +++ b/mex/sources/bytecode/SparseMatrix.hh @@ -51,7 +51,6 @@ constexpr double mem_increasing_factor = 1.1; class dynSparseMatrix : public Evaluate { public: - dynSparseMatrix(); dynSparseMatrix(int y_size_arg, int y_kmin_arg, int y_kmax_arg, bool print_it_arg, bool steady_state_arg, int periods_arg, int minimal_solving_periods_arg, double slowc_arg); void Simulate_Newton_Two_Boundaries(int blck, int y_size, int y_kmin, int y_kmax, int Size, int periods, bool cvg, int minimal_solving_periods, int stack_solve_algo, unsigned int endo_name_length, const vector &P_endo_names, const vector_table_conditional_local_type &vector_table_conditional_local); void Simulate_Newton_One_Boundary(bool forward);