Skip to content
Snippets Groups Projects
Commit cd66004b authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/IO/Gocad] Correct path handling

parent 459048e0
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,9 @@ using Bitset = boost::dynamic_bitset<>;
GocadSGridReader::GocadSGridReader(std::string const& fname)
: _fname(fname),
_path(BaseLib::extractPath(fname)),
_path(BaseLib::extractPath(fname).empty()
? ""
: BaseLib::extractPath(fname) + '/'),
_n_face_sets(0),
_double_precision_binary(false),
_bin_pnts_in_double_precision(false)
......
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