Some books require it to be smooth as well, and your example qualifies for this, so is not too controversial.
However other examples where it is not smooth at (a,b) may also change concavity at (a,b). This is where it gets controversial. Some books still call it an inflection, others don't...