rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
282 stars 42 forks source link

Fix similar so that new memory is allocated #864

Closed ptiede closed 1 day ago

ptiede commented 1 day ago

This fixes #863 by allocating new memory in similar. I also have added a test to ensure this is checked in future versions.

rafaqz commented 1 day ago

Good catch. We have far too many similar methods... But probably we need this check for every one

Looks like this was new from #844