PCFactorSetShiftType

Issue #84 resolved
Murat Keceli created an issue

To avoid a zero pivot I use -pc_factor_shift_type POSITIVE_DEFINITE. I want to add this into the code, but I could not find how to do it. I tried pc.setFactorShift(shift_type=A.FactorShiftType.POSITIVE_DEFINITE) or pc.setFactorShift(shift_type='POSITIVE_DEFINITE')

But they didn't work. What is the correct way of doing it?

Comments (2)

  1. Murat Keceli reporter

    I was wrong, the problem was something else. pc.setFactorShift(shift_type=A.FactorShiftType.POSITIVE_DEFINITE) works fine.

  2. Log in to comment