Open pravi opened 3 years ago
From the log - it seems that the test in question is simply comparing the hash with the gold wmh.bin
output.
I guess only @vmarkovtsev knows how this file was created in the first place in https://github.com/go-enry/go-license-detector/commit/1972482a7d6ac88fce6b4c0df22d65a341583e8c but my guess is that it was done in Python.
If that is so - why changing the version of gonum
changes the behaviour of gonum/stat/distuv
(the only thing that seems to used from it in wmh.go) - is beyond me.
From a quick glance, there seems to be some changes in stat/distuv
at https://github.com/gonum/gonum/releases/tag/v0.8.1 https://github.com/gonum/gonum/releases/tag/v0.8.1 but why should that affect the .Rand()
\w a fixed seed (the only thing that is consumed in wmh.go) is a mistery š¤·
We are packaging this module for Debian, but we already have gonum.org/v1/gonum v0.9.0 and would like to use that instead of 0.7.0
But one test is failing with the new version, so please update the test with new version.