jzmaddock
bdcecaa7be
Correct variable name.
2024-02-10 10:42:45 +00:00
jzmaddock
48b249115f
Add better bessel_iterator tests.
2024-02-10 10:33:36 +00:00
jzmaddock
319a521430
Merge branch 'develop' into improve_coverage
...
Fixed Conflicts:
test/Jamfile.v2
test/condition_number_test.cpp
2024-02-10 09:54:04 +00:00
jzmaddock
da7a945e02
Add missing using statement.
2024-02-10 09:27:35 +00:00
Nick Thompson
3bf7d9791c
Use math_unit_test.hpp to fix build failure
...
We often see the condition number test failing with
```
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: ..\..\..\bin.v2\libs\math\test\condition_number_test.test\a7486d3baaf381a6d13710dc26b7b123\condition_number_test.o: too many sections (32989)
C:\Users\RUNNER~1\AppData\Local\Temp\ccuI2rpi.s: Assembler messages:
C:\Users\RUNNER~1\AppData\Local\Temp\ccuI2rpi.s: Fatal error: can't write 155 bytes to section .text of ..\..\..\bin.v2\libs\math\test\condition_number_test.test\a7486d3baaf381a6d13710dc26b7b123\condition_number_test.o: 'File too big'
```
Use math_unit_test.hpp to fix this.
2024-02-09 15:32:35 -08:00
Nick Thompson
222d266048
CMA-ES
2024-02-09 12:09:53 -08:00
jzmaddock
851c171f16
More bessel function tests for improved coverage.
...
Kill some unused variable warnings.
Mark up code we think is unreachable but aren't sure about.
2024-02-09 19:34:42 +00:00
jzmaddock
eef497efea
Make bessel_k_prime integer order aware.
2024-02-09 18:25:31 +00:00
jzmaddock
1d1a52cc27
Correct gauss and gauss_kronrod integrators with strange-precision types.
2024-02-09 18:11:18 +00:00
John Maddock
26e21c9720
Merge branch 'develop' into improve_coverage
2024-02-09 16:24:26 +00:00
jzmaddock
e285ef3501
Correct test cases.
2024-02-09 16:23:33 +00:00
jzmaddock
098676d6ac
Correct test cases.
2024-02-09 13:14:15 +00:00
jzmaddock
cbf6b96a09
Merge pull request #1079 from boostorg/issue1075
...
Update pre-computed constexpr Gauss and Gauss-Kronrod constants
2024-02-09 12:28:23 +00:00
jzmaddock
b8ea32436a
Correct concept failures.
2024-02-08 19:56:27 +00:00
jzmaddock
d6ec06df3a
Improve Bessel K and Y prime coverage.
...
Improve overflow handling in the implementations themselves.
2024-02-08 19:25:56 +00:00
jzmaddock
2adbc21370
Correct assertion usage.
2024-02-06 18:31:28 +00:00
jzmaddock
60134c06e9
Improve Bessel Y derivative coverage.
...
Also fixes a bug in bessel_y_derivative_small_z_series corner case.
2024-02-06 18:26:35 +00:00
John Maddock
e1033c9558
Merge branch 'develop' into improve_coverage
2024-02-06 15:01:40 +00:00
jzmaddock
03ea9c8d7d
Merge pull request #1080 from boostorg/issue184_2024
...
Reinstate root finding protection against huge jumps.
2024-02-06 12:34:39 +00:00
jzmaddock
04c2c248df
BOOST_ASSERT->BOOST_MATH_ASSERT.
2024-02-06 09:54:49 +00:00
jzmaddock
a57fb0a894
Reinstate root finding protection against huge jumps.
...
Apply error handling more rigorously to any root finding client.
Mark evaluation_error's as not reachable for code coverage.
Fixes https://github.com/boostorg/math/issues/184 .
2024-02-05 19:16:33 +00:00
jzmaddock
75dcb3e3d5
Merge pull request #1078 from andrjohns/ibeta-inv-assert
...
Avoid unused variable warning in ibeta_inverse
2024-02-04 17:32:30 +00:00
Andrew Johnson
12e33a5db4
Avoid unused variable warning
2024-02-04 13:54:00 +02:00
jzmaddock
549baa5677
Correct gauss method selection logic.
2024-02-03 18:25:11 +00:00
jzmaddock
c5feae34bb
Simplify tables of constants in gauss and gauss_kronrod code.
...
Also mark up anything that uses BOOST_MATH_HUGE_CONSTANT as unreachable by code coverage as gcov seems to have an issue with it.
2024-02-02 18:48:57 +00:00
jzmaddock
b2b839ab4c
Try and fix Mingw gcc-8 failures.
2024-02-01 20:05:58 +00:00
jzmaddock
87a905ab1a
Cast result of weights() calls to the correct type.
2024-02-01 19:10:52 +00:00
jzmaddock
c35f12c1f5
Update pre-computed constexpr Gauss and Gauss-Kronrod constants
...
to always store literal types.
Fixes: https://github.com/boostorg/math/issues/1077 .
2024-02-01 18:43:41 +00:00
jzmaddock
d0bade9858
Improve Bessel Y coverage.
2024-02-01 16:56:39 +00:00
Nick
ca29a700f1
Remove warnings from naive Monte Carlo ( #1075 )
2024-01-30 14:28:17 -08:00
jzmaddock
b30b637f35
Remove some impossible to reach bessel_jn code.
...
Add some more tests for the code that can be reached.
2024-01-29 18:05:37 +00:00
jzmaddock
14eee3781e
Correct assert usage.
2024-01-26 19:43:14 +00:00
jzmaddock
797714419b
Continue improving Bessel coverage and removing dead code.
2024-01-26 19:31:34 +00:00
Nick
fccad84bf5
Random search ( #1071 )
2024-01-24 17:26:24 -08:00
jzmaddock
045a87e792
Refactor test coverage to put concept checks in their own group.
...
And don't try and run concept checks with test coverage collection.
2024-01-24 16:43:56 +00:00
Matt Borland
31b76ee734
Merge pull request #1072 from boostorg/deprectation
...
Update GHA to remove Node deprecation warnings
2024-01-24 13:48:57 +01:00
Matt Borland
291f31117f
Update GHA to remove Node deprecation warnings
2024-01-24 11:52:29 +01:00
jzmaddock
c046f713bb
Correct typo.
2024-01-23 18:03:35 +00:00
jzmaddock
317b7a64e4
More Bessel function coverage.
...
Remove I0 initializers and rely on C++11 thread safe static const initialization.
2024-01-23 17:18:25 +00:00
jzmaddock
36496d4fb7
Correct sign of cyl_neumann(0,0) result in multiprecision case.
2024-01-23 12:18:10 +00:00
Nick
a1f7a305ee
Algorithm jSO ( #1065 )
...
Follows: Brest, Janez, Mirjam Sepesy Maucec, and Borko Boskovic. "Single objective real-parameter optimization: Algorithm jSO." 2017 IEEE congress on evolutionary computation (CEC). IEEE, 2017.
2024-01-22 14:06:52 -08:00
jzmaddock
27b3f9ea09
Begin improving ibeta coverage.
2024-01-22 19:28:16 +00:00
jzmaddock
1bf4096273
increase tolerance
2024-01-22 16:29:27 +00:00
jzmaddock
bc975995ed
Correct bessel_J test case.
2024-01-22 16:14:29 +00:00
jzmaddock
7431f8141c
Improve bernoulli and bessel coverage.
2024-01-22 13:23:33 +00:00
jzmaddock
9e18943090
Improve test coverage.
...
Try and get all the special_functions/a*.hpp files up to 100%.
2024-01-21 16:58:08 +00:00
jzmaddock
e06b1b7b04
Merge pull request #1067 from boostorg/opt_newline
...
Fix missing newline.
2024-01-21 12:14:49 +00:00
jzmaddock
9f5e81d4ea
Fix missing newline.
2024-01-21 10:26:53 +00:00
jzmaddock
6f81305aa6
Merge pull request #1066 from boostorg/issue1064
...
Improve cstdfloat iostream code.
2024-01-21 10:21:47 +00:00
jzmaddock
469541984d
Improve cstdfloat iostream code.
...
Copies input stream parsing from multiprecision.
Fixes https://github.com/boostorg/math/issues/1064
This is still not "proper" iostream code, but it's much better than it was.
2024-01-20 19:04:59 +00:00