Skip to content

Commit

Permalink
Attempt at fixing GCC error
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Oct 22, 2024
1 parent 9c401f6 commit 93c3591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/Ranges/TRange.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ namespace Langulus::Math
};

// Useful representation for directly feeding to SIMD
MemberType mArray[MemberCount] = {};
MemberType mArray[MemberCount];
};

public:
Expand Down
6 changes: 4 additions & 2 deletions source/Vectors/TVector.inl
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,16 @@ namespace Langulus::Math
/// Construct from any vector (with conversion)
/// @param a - vector to use
TEMPLATE() LANGULUS(INLINED)
constexpr TME()::TVector(const CT::Vector auto& source) noexcept {
constexpr TME()::TVector(const CT::Vector auto& source) noexcept
: TVector {} {
SIMD::Convert<DEFAULT>(DeintCast(source), all);
}

/// Construct from any scalar (with conversion)
/// @param a - vector to use
TEMPLATE() LANGULUS(INLINED)
constexpr TME()::TVector(const CT::Scalar auto& source) noexcept {
constexpr TME()::TVector(const CT::Scalar auto& source) noexcept
: TVector {} {
SIMD::Convert<DEFAULT>(DeintCast(source), all);
}

Expand Down

0 comments on commit 93c3591

Please sign in to comment.