In 44e10bfc the derivative of Van Genuchten krn_swe was fixed. I thought it's not used anywhere. I overlooked that it's actually used in the regularization of krn for small saturations.
krn_swe
krn