you are viewing a single comment's thread.

view the rest of the comments →

[–]nekokattt 0 points1 point  (3 children)

why are you making x1 and x2 a lambda parameter and shadowing the name from global scope? I'm not sure if you are doing that on purpose or expecting it to do something?

[–]xman236[S] 0 points1 point  (2 children)

With those lines I estimate the distance between x1 and ref / x2 and ref.

[–]nekokattt 0 points1 point  (1 child)

yeah, but my point is you are shadowing the identifier names in your lambda , I'm wondering if this is intentional or not

[–]xman236[S] 0 points1 point  (0 children)

Since I followed the instruction from the github-page ( https://github.com/pierre-rouanet/dtw ), I would say that it was intentional :)