Ask Your Question

Revision history [back]

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.