Skip to content

Commit

Permalink
clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deslaughter committed Jan 10, 2025
1 parent c2bbd16 commit aaf2232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/regression_tests/regression/test_rotating_beam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ void GeneratorTorqueWithAxisTilt(
UpdateSystemVariables(parameters, elements, state);
RemoveDirectoryWithRetries("steps");
std::filesystem::create_directory("steps");
WriteVTKBeamsQP(beams, "steps/step_0000.vtu");
WriteVTKBeamsQP(elements.beams, "steps/step_0000.vtu");
#endif

// Run 10 steps
Expand All @@ -742,7 +742,7 @@ void GeneratorTorqueWithAxisTilt(
#ifdef OpenTurbine_ENABLE_VTK
auto tmp = std::to_string(i + 1);
auto file_name = std::string("steps/step_") + std::string(4 - tmp.size(), '0') + tmp;
WriteVTKBeamsQP(beams, file_name + ".vtu");
WriteVTKBeamsQP(elements.beams, file_name + ".vtu");
#endif
}

Expand Down

0 comments on commit aaf2232

Please sign in to comment.