changing where we invert the sign for cudagrav