Add static no cpp-internal function.
@@ -123,7 +123,7 @@ static bool IsCategoricalFeaturesEmpty(const TAllFeatures& allFeatures) {
}
template <typename T>
-ui32 CalcMatrixCheckSum(ui32 init, const TVector<TVector<T>>& matrix) {
+static ui32 CalcMatrixCheckSum(ui32 init, const TVector<TVector<T>>& matrix) {
ui32 checkSum = init;
for (const auto& row : matrix) {
checkSum = Crc32cExtend(checkSum, row.data(), row.size() * sizeof(T));
