Closed VLucet closed 3 years ago
The issue is that the helper .chebyshev_distance_quarter_kernel
returns a value. This is due to these lines in .minkowski_distance_quarter_kernel
:
return(max(
.horizontal_distance_quarter_kernel(vertical_radius, horizontal_radius),
.vertical_distance_quarter_kernel(vertical_radius, horizontal_radius)
))
The max function returns a single value, while the expected behavior should be pairwise maximum, can be achieved with pmax
.