Skip to content

Commit

Permalink
Fix compiling DomainCreators with nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu committed Jan 17, 2025
1 parent 01d3df9 commit 4ba6b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ FromVolumeFileShapeSize<Object>::FromVolumeFileShapeSize(
std::string subfile_name)
: FromVolumeFile(std::move(h5_filename), std::move(subfile_name)),
transition_ends_at_cube(transition_ends_at_cube_in) {
const auto shape_fot_map =
retrieve_function_of_time({"Shape" + name(Object)}, std::nullopt);
const auto shape_fot_map = retrieve_function_of_time(
{std::string{"Shape" + name(Object)}}, std::nullopt);
const auto& shape_fot = shape_fot_map.at("Shape" + name(Object));

const double initial_time = shape_fot->time_bounds()[0];
Expand Down

0 comments on commit 4ba6b5e

Please sign in to comment.