A fix of linearity settings of DiscreteProblem.