On Fri, Jan 22, 2010 at 02:47:06PM +0100, Marie Rognes wrote: > Kristian Oelgaard wrote: > > > > > >2010/1/22 Marie Rognes <[email protected]>: > >>Kristian Oelgaard wrote: > >>> > >>>I'm moving to the new format in cpp.py. > >>>A few remarks: > >>> > >>>'format' is a builtin function, so we should probably call it something > >>>else.
Yes, that would be good. Any suggestions? -- Anders > >>>I made some changes such that 'add' -> ' + ', 'mul' -> '*'. > >>>If one wants something more intelligent 'addition' and > >>>'multiply' maps to > >>>the functions _add and _multiply. > >>> > >> > >>Have you replaced add/mul with addition/multiply elsewhere? > > > >Yes, and Poisson and Elasticity compiles but I might have missed > >some. It should be an easy fix if it breaks something. > >I did this such that 'add' does the same as __add__ in Python etc. > > > > Ok, great :) >
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~ffc Post to : [email protected] Unsubscribe : https://launchpad.net/~ffc More help : https://help.launchpad.net/ListHelp

