nixpkgs/pkgs/applications/science
Sebastián Mancilla 70b3662a67 shogun: disable broken test
Shogun has been broken for a while [0].

Looks like the latest update to openblas, by f07a0615ea (openblas:
0.3.20 -> 0.3.21, 2022-08-10), broke the `libshogun-mathematics_lapack`
example. It calculates the eigenvectors for a matrix, but the assertions
now fail:

    compute_eigenvectors
    A=[
    [       -0.500000000000000111,  0.707106781186547351,   0.5],
    [       0.707106781186547351,   1.04083408558608426e-16,        0.707106781186547129],
    [       -0.499999999999999722,  -0.707106781186547462,  0.5]
    ]
    eigenvalues=[-1.41421356237309492,1.04083408558608426e-17,1.41421356237309492]
    terminate called after throwing an instance of 'shogun::ShogunException'

The darwin build output shows a bit more detail:

    assertion is_equal(A(0,0), 0.5, eps) failed in void test_ev()
    file /tmp/nix-build-shogun-6.1.4.drv-0/source/examples/undocumented/libshogun/mathematics_lapack.cpp
    line 49

Disable the test to fix the build, although the results seem "correct".
It appears that openblas now calculates values with slightly less
precision, thus the assertion fails due to the expected epsilon.

[0]: https://hydra.nixos.org/build/194671473
2023-05-21 22:34:01 -04:00
..
astronomy gnuastro: 0.19 -> 0.20 2023-05-06 12:26:20 +00:00
biology Merge pull request #231635 from natsukium/bwa/build-on-aarch64 2023-05-18 01:10:14 +03:00
chemistry wxmacmolplt: fix typo 2023-05-12 10:41:17 +02:00
computer-architecture treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional 2023-02-22 21:23:05 +02:00
electronics pkgs: fix typos 2023-05-19 22:31:04 -04:00
engineering strictdoc: 0.0.26 -> 0.0.40 2023-05-17 20:34:49 +02:00
geometry antiprism: 0.29 -> 0.30 2023-05-13 13:57:15 -03:00
logic isabelle-components.isabelle-linter: add platforms 2023-05-17 23:01:48 +03:00
machine-learning shogun: disable broken test 2023-05-21 22:34:01 -04:00
math primesieve: 11.0 -> 11.1 2023-05-16 10:45:23 +00:00
medicine dcmtk: enable tests 2023-01-13 00:29:28 -05:00
misc cytoscape: 3.9.1 -> 3.10.0 2023-05-18 03:01:55 +00:00
molecular-dynamics gromacs: 2023 -> 2023.1 2023-04-23 21:36:32 +02:00
networking/sumo sumo: 1.16.0 -> 1.17.0 2023-04-29 09:39:15 +00:00
physics crystfel: update dependencies 2023-05-12 07:41:39 +02:00
programming
robotics betaflight-configurator: reduce size 2023-05-15 21:00:00 +02:00