fixed allocation error in Python interface for resolving Schubert conditions