Commit 603c8dd8 authored by Dmitry Bagaev's avatar Dmitry Bagaev
Browse files

Use of enumeration in a nested name specifier fixed (c++11 compiler feature)

parent ee3b3f51
......@@ -12,9 +12,9 @@ namespace INMOST {
class SolverParameters;
enum SolverVerbosityLevel {
Level0 = 0,
Level1 = 1,
Level2 = 2
SolverVerbosityLevel0 = 0,
SolverVerbosityLevel1 = 1,
SolverVerbosityLevel2 = 2
};
/// Main class to set and solve linear system.
......
......@@ -17,7 +17,7 @@ namespace INMOST {
void Solver::SetParameterReal(std::string name, INMOST_DATA_REAL_TYPE value) { SetParameter(name, to_string(value)); }
Solver::Solver(std::string solverName, std::string prefix, INMOST_MPI_Comm _comm) :
versbosity(SolverVerbosityLevel::Level0), preconditioner_time(0), iterations_time(0), is_solved(false) {
versbosity(SolverVerbosityLevel0), preconditioner_time(0), iterations_time(0), is_solved(false) {
std::string lowerName = string_to_lower(solverName);
this->solver = SolverMaster::getSolver(solverName);
this->prefix = string_to_lower(prefix);
......@@ -164,7 +164,7 @@ namespace INMOST {
//INMOST::MPIBarrier();
iterations_time = Timer() - iterations_timer_start;
if (versbosity > SolverVerbosityLevel::Level1) {
if (versbosity > SolverVerbosityLevel1) {
#if defined(USE_MPI)
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment