Skip to content
Snippets Groups Projects
Commit 44a18da3 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[App/IO] Explicit conversion from size_t to double

Silences a warning.
parent 47b325b6
No related branches found
No related tags found
1 merge request!2378Small fixes.
......@@ -350,7 +350,8 @@ void GocadSGridReader::parseFaceSet(std::string& line, std::istream& in)
ERR("****** k coord %d to big for id %d.", c[2], id);
std::size_t const cell_id(
_index_calculator.getCellIdx(c[0], c[1], c[2]));
face_set_property._property_data[cell_id] = face_indicator;
face_set_property._property_data[cell_id] =
static_cast<double>(face_indicator);
}
face_set_id_cnt++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment