Fix a partial vs total derivative.