def apply_nonlinear(self, params, unknowns, resids):
        """ Don't solve; just calculate the residual."""

        y2_actual = params['y2_actual']
        y2_command = unknowns['y2_command']

        resids['y2_command'] = y2_command - y2_actual
dataset/ETHPy150Open OpenMDAO/OpenMDAO/examples/sellar_state_MDF_optimize.py/StateConnection.apply_nonlinear/swapped operands of `-`