There are many acceptable approaches to correcting a colleague's error. Tactless rebuke doesn't seem to be one of them, certainly not in this instance.