remove redundant type cast

This commit is contained in:
gabrielmcg44 2024-06-29 07:13:08 -03:00
parent b847ccabc8
commit df086999ff

View File

@ -136,7 +136,7 @@ private:
if (curr_tp == 0 || curr_tp == size)
return std::numeric_limits<Float64>::quiet_NaN();
return static_cast<Float64>(area) / curr_tp / (size - curr_tp);
return area / curr_tp / (size - curr_tp);
}
static void vector(