Commit 9afff872 authored by Stefan Marr's avatar Stefan Marr

Added support for upper limit being double

Used for instance in the Fannkuch benchmark, and was supported before.
Signed-off-by: default avatarStefan Marr <>
parent a3b12f70
......@@ -226,7 +226,10 @@ def _toDo(ivkbl, frame, interpreter):
context = block.get_context()
i = self.get_embedded_integer()
top = limit.get_embedded_integer()
if isinstance(limit, Double):
top = limit.get_embedded_double()
top = limit.get_embedded_value()
while i <= top:
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