Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's because the first argument of set_name must be a string (the name you want to give to the differential form), i.e. the correct syntax is:

domega.set_name('domega', r'\mathrm{d}\omega')

Probably the error message should be more explicit.