Fix precomputed inverse code.