Thread Previous • Date Previous • Date Next • Thread Next |
(In C++) Since a Constant doesn't have a function space, Coefficient::attach creates one. Definitely not what I would expect. What are the side effects of this? A simple way that this may cause problems is: Constant c; MyForm0 a0(...); MyForm1 a1(...); a0.d = c; a1.e = c; Now consider that a0 and a1 may have different spaces for their coefficients d and e. Not intuitive! -- Martin
Thread Previous • Date Previous • Date Next • Thread Next |