-- operator

I was going through a neural net tutorial and I got to a specific line:

error += pow(OutputLayer.NeuronValues[i] -- OutputLayer.DesiredValues[i], 2);

I was wondering what the -- operator does in this case. I couldn't find anything from Google and I can't run the code, because it gives me an error. I assumed it was a typo in the tutorial, because - compiled, whereas -- didn't, but they keep using it in the tutorial, so I'm not really sure.
I think that it is a typo and the code will not be compiled.:)
Topic archived. No new replies allowed.