Giving modifications in another instructors class

Curious how other instructors feel about giving corrections in someone else’s class. I don’t think I’d ever do it…. But I was very close in a class over the weekend. I wouldn’t want to over step a boundary but also the instructor in me needs to help! I can’t turn my brain off when taking class