Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with IM 7.1.1-25 #645

Closed
remicollet opened this issue Jan 1, 2024 · 2 comments
Closed

Build failure with IM 7.1.1-25 #645

remicollet opened this issue Jan 1, 2024 · 2 comments

Comments

@remicollet
Copy link
Contributor

========DIFF========
001+ Fatal error: Uncaught Exception: Value for kurtosis doesn't match expected. Expected: -0.93792610350105, actual: -0.7092599567492 in /dev/shm/BUILD/php-pecl-imagick-im6-3.7.0/imagick-3.7.0/tests/functions.inc:132
002+ Stack trace:
003+ #0 /dev/shm/BUILD/php-pecl-imagick-im6-3.7.0/imagick-3.7.0/tests/316_Imagick_getImageKurtosis.php(9): check_value(Array, 'kurtosis', -0.93792610350105)
001- Value for 'kurtosis' is %f which is close enough to expected %f
002- Value for 'skewness' is %f which is close enough to expected %f
003- Ok
004+ #1 /dev/shm/BUILD/php-pecl-imagick-im6-3.7.0/imagick-3.7.0/tests/316_Imagick_getImageKurtosis.php(13): getImageKurtosis()
005+ #2 {main}
006+   thrown in /dev/shm/BUILD/php-pecl-imagick-im6-3.7.0/imagick-3.7.0/tests/functions.inc on line 132
========DONE========
FAIL Test Imagick, getImageKurtosis [tests/316_Imagick_getImageKurtosis.phpt] 

@Danack
Copy link
Collaborator

Danack commented Feb 9, 2024

This looks like a deliberate change in the calculations: ImageMagick/ImageMagick#6924

So I'll update the expectations of the tests.

@Danack
Copy link
Collaborator

Danack commented Feb 9, 2024

Fixed in 944b67f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants