diff --git a/river/cluster/dbstream.py b/river/cluster/dbstream.py index 93a1cea682..e098f0de2e 100644 --- a/river/cluster/dbstream.py +++ b/river/cluster/dbstream.py @@ -161,7 +161,7 @@ def __init__( @staticmethod def _distance(point_a, point_b): - return math.sqrt(utils.math.minkowski_distance(point_a, point_b, 2)) + return utils.math.minkowski_distance(point_a, point_b, 2) def _find_fixed_radius_nn(self, x): fixed_radius_nn = {}