For loop error

It would be great if you could provide an MWE - the error is telling you that for the type of variables you’re using, a subtraction operation is not defined, but without more context it’s hard to say where these types come from and why (if at all) you’d need them.

1 Like