Math fail

Mere seconds after tweeting about how nice it is to simplify huge swathes of ugly code into a single small, nicely abstracted piece of easily-maintainable code, I discovered that the small, nicely abstracted piece of easily-maintainable code didn’t, in fact, work properly.

It’s a simple fix to make it work properly.  But it’s also an important reminder that a group of lions often arrive during the summer.