Commit f3600cd1 authored by Allen Wang's avatar Allen Wang Committed by A. Unique TensorFlower
Browse files

Small fix to CTL controller to enable evaluation skipping.

PiperOrigin-RevId: 295789822
parent 2926ba69
......@@ -274,7 +274,7 @@ class IntervalTrigger(Trigger):
self._last_trigger_value = value
return True
if self._interval > 0:
if self._interval and self._interval > 0:
if value >= self._last_trigger_value + self._interval:
self._last_trigger_value = value
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment