Skip to content

Commit

Permalink
if only a h5 is provided the same file is used as input and working file
Browse files Browse the repository at this point in the history
  • Loading branch information
amock committed Nov 19, 2024
1 parent 8524819 commit ef42e0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mesh_map/src/mesh_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,10 @@ bool MeshMap::readMap()
{
if(!mesh_file.empty() && !mesh_part.empty())
{

if(mesh_working_file == "")
{
// default: mesh_working_file = mesh_file filename in this directory
mesh_working_file = fs::path(mesh_file).filename().replace_extension(".h5");
mesh_working_file = fs::path(mesh_file).replace_extension(".h5");
}

if(mesh_working_part == "")
Expand Down

0 comments on commit ef42e0a

Please sign in to comment.