SciML / LabelledArrays.jl

Arrays which also have a label for each element for easy scientific machine learning (SciML)
https://docs.sciml.ai/LabelledArrays/stable/
Other
120 stars 21 forks source link

check for names in equality #65

Open bgctw opened 5 years ago

bgctw commented 5 years ago

Currently, difference in names are not considered differences in objects. The following returns true: (@LArray [3.,1.] (:c,:a)) == (@LArray [3.,1.] (:c,:someother))

Is this the intended semantics to be compatible with arrays? Intuitively, I would expect objects with different names to be classified as being different.

ChrisRackauckas commented 5 years ago

For an AbstractArray I think == is always by value? I'd want to double check that.