correction solveSPTG used by PTGSolver