in reply to Re: Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?
in thread Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?
Thanks, Rob, this was really bad choice, on my part, of example data, and I appreciate you pointed this out.
With real script, I'm observing smaller matrix population (non-zero elements count) after feeding 64-bit data in, than expected, when running with 5.32 PDL-SP (2.6 GSL), compared to correct count (population equals items fed in) running with 5.26 PDL-SP (2.3 GSL).
Then I tried to present exaggerated examples, and, yes, you are right, I messed operator precedence, and so result looks silly and not trustworthy.
There's still wrong output of "1 1" with:
die if gsl_spmatrix_set( $m, 1, 0, 1 ); say gsl_spmatrix_nnz( $m ); die if gsl_spmatrix_set( $m, 1 + (1 << 32), 0, 1 ); say gsl_spmatrix_nnz( $m );
or similar. I mean, my blunder doesn't cancel out Math::GSL (and perhaps GSL) issues.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?
by syphilis (Archbishop) on Nov 10, 2022 at 14:16 UTC | |
by syphilis (Archbishop) on Nov 11, 2022 at 05:25 UTC | |
by syphilis (Archbishop) on Nov 12, 2022 at 14:20 UTC | |
|