Follow-up Comment #1, bug #58763 (group gsl): I cannot reproduce that problem under openSUSE 15.6 with gsl 2.6, gcc 7.5.0 and valgrind 3.24.0:
mathar@mathar:~/tmp> valgrind ./demo
==23918== Memcheck, a memory error detector
==23918== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==23918== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info
==23918== Command: ./demo
==23918==
using brent method
iter [ lower, upper] root err err(est)
1 [1.0000000, 5.0000000] 1.0000000 -1.2360680 4.0000000
2 [1.0000000, 3.0000000] 3.0000000 +0.7639320 2.0000000
3 [2.0000000, 3.0000000] 2.0000000 -0.2360680 1.0000000
4 [2.2000000, 3.0000000] 2.2000000 -0.0360680 0.8000000
5 [2.2000000, 2.2366300] 2.2366300 +0.0005621 0.0366300
Converged:
6 [2.2360634, 2.2366300] 2.2360634 -0.0000046 0.0005666
==23918==
==23918== HEAP SUMMARY:
==23918== in use at exit: 0 bytes in 0 blocks
==23918== total heap usage: 3 allocs, 3 frees, 1,136 bytes allocated
==23918==
==23918== All heap blocks were freed -- no leaks are possible
==23918==
==23918== For lists of detected and suppressed errors, rerun with: -s
==23918== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58763>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
