Adriandmen / 05AB1E

A concise stack-based golfing language
MIT License
760 stars 48 forks source link

BUG: gcd `¿` on an empty list results in an error instead of 0 #178

Open kcruijss opened 3 years ago

kcruijss commented 3 years ago

Well, the title basically says it all. When using the Greatest Common Divisor on an empty list, it results in an error instead of the expected 0.

Try it online to reproduce.
Found in this codegolf answer of mine.