Commit a1d311dc authored by Marco Bomben's avatar Marco Bomben
Browse files

fixed uninitialized variable

parent b298efd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ MeshMap SilvacoParser::read_meshes(const std::string& file_name) {
        if ( num_lines_parsed == 1 ) {
            std::istringstream iss;
            iss.str(line);
            double val;
            double val = NAN;
            while ( iss >> val ) {
                columns_count++;
            }
@@ -155,7 +155,7 @@ FieldMap SilvacoParser::read_fields(const std::string& file_name) {
        if ( num_lines_parsed == 1 ) {
            std::istringstream iss;
            iss.str(line);
            double val;
            double val = NAN;
            while ( iss >> val ) {
                columns_count++;
            }