diff options
author | Chris Robinson <[email protected]> | 2023-05-08 13:56:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-08 13:56:52 -0700 |
commit | 755a6e15b5665914a6d67157abc1060746e658b0 (patch) | |
tree | e1db365c50585c49c88517c576a3bcf0e10964d6 | |
parent | 947f87a25390bdb2b4b22952c1ad55a56fe280e4 (diff) |
Make a function constexpr
-rw-r--r-- | core/ambidefs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ambidefs.cpp b/core/ambidefs.cpp index 70d6f356..c1bb5c81 100644 --- a/core/ambidefs.cpp +++ b/core/ambidefs.cpp @@ -258,7 +258,7 @@ static_assert(FourthOrder2DDecoder.size() == FourthOrder2DEncoder.size(), "Fourt template<size_t N, size_t M> -auto CalcAmbiUpsampler(const std::array<std::array<float,N>,M> &decoder, +constexpr auto CalcAmbiUpsampler(const std::array<std::array<float,N>,M> &decoder, const std::array<AmbiChannelFloatArray,M> &encoder) { std::array<AmbiChannelFloatArray,N> res{}; |