Update euler.py (#3715)
Update euler.py (#3715)

Raise the performance by reducing the unnecessary checks in ``if`` condition.
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi