Commits

ebo  committed 8409b07

Reduced number of recursions

  • Participants
  • Parent commits 3ce03d6

Comments (0)

Files changed (1)

File recursion.py

         func.content.append(rec)
         
         func.content.extend(
-            [Assignment("result", "=", [CallStatement(rec, ["20", "0"])]),
+            [Assignment("result", "=", [CallStatement(rec, ["10", "0"])]),
             "return result"])
         
         self.module.content.append(func)