kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
226 stars 37 forks source link

Setting identically-named Indices property should warn #282

Open kpeeters opened 10 months ago

kpeeters commented 10 months ago

A declaration

{a,b,c,d}::Indices.
{k,l,m,n}::Indices.

will create one set of indices, containing all 8. This is as documented, but can easily lead to confusion. A warning would be useful, or at least a human-readable output of properties().