Patch to make omega work up to conversion of the type of equations