Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix centre and diagonal being properties on Images #590
Given some new work I'm doing, I noticed that the
This turns them into methods and fixes the tests.
added a commit
this pull request
Jun 1, 2015
I agree that this should be changed to make this behavior more consistent. The reason I hadn't done it in the first pass was that centre and diagonal are very cheap to compute, but it's confusing for users having some things as methods and others as computed properties, so let's make them more consistent. +1.