Skip to content

Conversation

kleisauke
Copy link
Member

I'm happy to make the first pull request on this repository.

The median function wasn't working. So I fixed it. Also, there where a lot of wrong return types so I changed them to the right ones. (Vips\Image -> Image)

Not sure if I've fixed the _is2D function (should we loop over $value or $value[0]?)

@jcupitt jcupitt merged commit f2724c3 into libvips:master Oct 1, 2016
@jcupitt
Copy link
Member

jcupitt commented Oct 1, 2016

Wow you found a lot of a problems, good job!

The _is2D one should have been caught by the tests, that's strange. I'll have a look.

The median should have been tested too, I'll add one there as well.

@jcupitt
Copy link
Member

jcupitt commented Oct 2, 2016

I added some more tests to master, _is2D and median are now both checked.

@kleisauke kleisauke deleted the median-and-phpdoc-fix branch November 25, 2016 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants