Fixed typo in MLPPStat::range.

This commit is contained in:
Relintai 2023-12-26 23:38:14 +01:00
parent 8becbe085a
commit 6b24541095

View File

@ -86,7 +86,7 @@ real_t MLPPStat::range(const Ref<MLPPVector> &x) {
ERR_FAIL_COND_V(!x.is_valid(), 0); ERR_FAIL_COND_V(!x.is_valid(), 0);
MLPPLinAlg alg; MLPPLinAlg alg;
return alg.minvr(x) - alg.minvr(x); return alg.maxvr(x) - alg.minvr(x);
} }
real_t MLPPStat::midrange(const Ref<MLPPVector> &x) { real_t MLPPStat::midrange(const Ref<MLPPVector> &x) {