Single-object factors with brackets do not print correctly

« cadabra project page

An expression of the type

\prod(A){B}

does not print correctly (because this is not valid code), yet it gets generated by input of the form

(A)*B;

Either automatically strip brackets from single factors or do something new with printing; in any case, such expressions will trigger the expression checker and should not be left in the tree.

Details

Id: 2c1e76aeb0f5cf8011ea0bb399c5411e35a1b1e7
Type: bugfix
Creation time: 2009-07-24 13:06 GMT
Creator: Kasper Peeters <kasper.peeters@...>
Release: unassigned
Component: cadabra
Status: unstarted

Issue log

2009-07-24 13:06 GMT Kasper Peeters <kasper.peeters@...> created