mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
remove redundant type cast
This commit is contained in:
parent
b847ccabc8
commit
df086999ff
@ -136,7 +136,7 @@ private:
|
|||||||
if (curr_tp == 0 || curr_tp == size)
|
if (curr_tp == 0 || curr_tp == size)
|
||||||
return std::numeric_limits<Float64>::quiet_NaN();
|
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(
|
static void vector(
|
||||||
|
Loading…
Reference in New Issue
Block a user