diff --git a/lib/io/dsv_io.cpp b/lib/io/dsv_io.cpp index 17f964f..335c6c0 100644 --- a/lib/io/dsv_io.cpp +++ b/lib/io/dsv_io.cpp @@ -467,7 +467,7 @@ void gctl::dsv_io::info(int t) if (table_[0][i].str_ != "") { std::clog << table_[0][i].str_ << " | "; - if (table_[0][i].type_) std::clog << "Enabled | "; + if (table_[0][i].out_ok_) std::clog << "Enabled | "; else std::clog << "Disabled | "; if (table_[1][i].type_ == String) std::clog << "String | "; if (table_[1][i].type_ == Int) std::clog << "Int | "; @@ -477,15 +477,13 @@ void gctl::dsv_io::info(int t) else { std::clog << "C" + std::to_string(i) << " | "; - if (table_[0][i].type_) std::clog << "Enabled | "; + if (table_[0][i].out_ok_) std::clog << "Enabled | "; else std::clog << "Disabled | "; if (table_[1][i].type_ == String) std::clog << "String | "; if (table_[1][i].type_ == Int) std::clog << "Int | "; if (table_[1][i].type_ == Float) std::clog << "Float | "; std::clog << table_[1][i].str_ << " -> " << table_[row_num_][i].str_; } - - if (!table_[0][i].out_ok_) std::clog << " (No output)"; std::clog << std::endl; } std::clog << "------------\n"; @@ -499,7 +497,7 @@ void gctl::dsv_io::info(int t) if (table_[i][0].str_ != "") { std::clog << table_[i][0].str_ << " | "; - if (table_[i][0].type_) std::clog << "Enabled | "; + if (table_[i][0].out_ok_) std::clog << "Enabled | "; else std::clog << "Disabled | "; if (table_[i][1].type_ == String) std::clog << "String | "; if (table_[i][1].type_ == Int) std::clog << "Int | "; @@ -509,15 +507,13 @@ void gctl::dsv_io::info(int t) else { std::clog << "R" + std::to_string(i) << " | "; - if (table_[i][0].type_) std::clog << "Enabled | "; + if (table_[i][0].out_ok_) std::clog << "Enabled | "; else std::clog << "Disabled | "; if (table_[i][1].type_ == String) std::clog << "String | "; if (table_[i][1].type_ == Int) std::clog << "Int | "; if (table_[i][1].type_ == Float) std::clog << "Float | "; std::clog << table_[i][1].str_ << " -> " << table_[i][col_num_].str_; } - - if (!table_[i][0].out_ok_) std::clog << " (No output)"; std::clog << std::endl; } std::clog << "------------\n";