Update calc.y

fixed a bug