Skip to content

Commit

Permalink
clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddement committed Feb 10, 2025
1 parent 24d3245 commit 482162e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/cfd/floating_platform_input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ struct FloatingPlatformInput {
std::array<double, 6> acceleration{0., 0., 0., 0., 0., 0.};

/// Platform point mass matrix
std::array<std::array<double, 6>, 6> mass_matrix;
std::array<std::array<double, 6>, 6> mass_matrix{};

/// Mooring line array
std::vector<MooringLineInput> mooring_lines;
std::vector<MooringLineInput> mooring_lines{};
};

} // namespace openturbine::cfd
2 changes: 1 addition & 1 deletion src/interfaces/cfd/interface_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct InterfaceBuilder {
return *this;
}

Interface Build() const { return Interface(interface_in); }
[[nodiscard]] Interface Build() const { return Interface(interface_in); }

private:
InterfaceInput interface_in;
Expand Down

0 comments on commit 482162e

Please sign in to comment.