Closed vspinu closed 10 months ago
If this is an expected behavior, maybe a copy method could be added instead?
Ouch! Thanks for spotting it. No, step patterns should be immutable. A modified copy should be returned. Will fix asap.
Hopefully fixed in ae3b3657a1dd2d793fb5346e188826de15e0b4c1 and 1.3.1
Describe the bug
Currently
.T()
method mutates step pattern objects which might result in unexpected behavior, especially with built-in patterns.To Reproduce
Version
dtw: '1.3.0'