Open
Description
The function core.mass(Q, T, ...)
calls core.preprocess(T, m, ...)
, which return the following values:
- T
- M_T
- Σ_T
- T_subseq_isconstant
We then pass these values to core._mass
. However, these M_T
and Σ_T
can contain non-finite value if the original T
has non-finite value. In fact, if you just follow the function core._mass
and go the callee function and then continue till you reach the very end of the road, you can see that at the end, we use that in the function core._calculate_squared_distance
to determine whether a distance should be infinite or not.
In the function core._calculate_squared_distance
, the flag is correctly set. Was wondering if should do the same for core._mass
?
Metadata
Metadata
Assignees
Labels
No labels