pyranha: fix for the new partial derivative method.