aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-08 13:56:52 -0700
committerChris Robinson <[email protected]>2023-05-08 13:56:52 -0700
commit755a6e15b5665914a6d67157abc1060746e658b0 (patch)
treee1db365c50585c49c88517c576a3bcf0e10964d6
parent947f87a25390bdb2b4b22952c1ad55a56fe280e4 (diff)
Make a function constexpr
-rw-r--r--core/ambidefs.cpp2
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{};