diff --git a/src/ipa/rkisp1/algorithms/goc.cpp b/src/ipa/rkisp1/algorithms/goc.cpp index 65460eb4..e98c9526 100644 --- a/src/ipa/rkisp1/algorithms/goc.cpp +++ b/src/ipa/rkisp1/algorithms/goc.cpp @@ -108,7 +108,7 @@ void GammaOutCorrection::prepare(IPAContext &context, * The logarithmic segments as specified in the reference. * Plus an additional 0 to make the loop easier */ - std::array segments = { + static constexpr std::array segments = { 64, 64, 64, 64, 128, 128, 128, 128, 256, 256, 256, 512, 512, 512, 512, 512, 0 };