kpeeters / cadabra2

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

Evaluate writes out scalars in components too often #112

Open kpeeters opened 6 years ago

kpeeters commented 6 years ago

Mostly handled in is_scalar_function, but we should do it the other way around: only wrap in components if necessary, then we also do not need to unwrap afterwards.