Skip to content

Commit a5c0625

Browse files
authored
Merge pull request #1239 from WarrenWeckesser/misc-corrections
2 parents 7e5e920 + 2fda707 commit a5c0625

File tree

7 files changed

+27
-29
lines changed

7 files changed

+27
-29
lines changed

Diff for: doc/background/special_tut.qbk

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Now we just need to write the test driver program, at it's most basic it looks s
373373
std::cout << "<note>The long double tests have been disabled on this platform "
374374
"either because the long double overloads of the usual math functions are "
375375
"not available at all, or because they are too inaccurate for these tests "
376-
"to pass.</note>" << std::cout;
376+
"to pass.</note>" << std::endl;
377377
#endif
378378
}
379379

Diff for: include/boost/math/distributions/fwd.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#ifndef BOOST_MATH_DISTRIBUTIONS_FWD_HPP
1212
#define BOOST_MATH_DISTRIBUTIONS_FWD_HPP
1313

14-
// 33 distributions at Boost 1.9.1 after adding hyperexpon and arcsine
15-
1614
namespace boost{ namespace math{
1715

1816
template <class RealType, class Policy>

Diff for: include/boost/math/distributions/skew_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Azzalini, A. (1985). "A class of distributions which includes the normal ones".
1414
// Scand. J. Statist. 12: 171-178.
1515

16-
#include <boost/math/distributions/fwd.hpp> // TODO add skew_normal distribution to fwd.hpp!
16+
#include <boost/math/distributions/fwd.hpp>
1717
#include <boost/math/special_functions/owens_t.hpp> // Owen's T function
1818
#include <boost/math/distributions/complement.hpp>
1919
#include <boost/math/distributions/normal.hpp>

Diff for: test/test_holtsmark.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ using boost::multiprecision::cpp_bin_float_quad;
3434
template<class RealType, int N>
3535
void do_test_holtsmark_pdf(){
3636
//
37-
// Basic sanity checks, tolerance is either 3 epsilon
37+
// Basic sanity checks, tolerance is 3 epsilon
3838
// expressed as a percentage:
3939
//
4040
BOOST_MATH_STD_USING
@@ -228,7 +228,7 @@ void do_test_holtsmark_pdf(){
228228
template<class RealType, int N>
229229
void do_test_holtsmark_cdf() {
230230
//
231-
// Basic sanity checks, tolerance is either 3 epsilon
231+
// Basic sanity checks, tolerance is 3 epsilon
232232
// expressed as a percentage:
233233
//
234234
BOOST_MATH_STD_USING
@@ -316,7 +316,7 @@ void do_test_holtsmark_cdf() {
316316
template<class RealType, int N>
317317
void do_test_holtsmark_ccdf() {
318318
//
319-
// Basic sanity checks, tolerance is either 3 epsilon
319+
// Basic sanity checks, tolerance is 3 epsilon
320320
// expressed as a percentage:
321321
//
322322
BOOST_MATH_STD_USING
@@ -511,7 +511,7 @@ void do_test_holtsmark_ccdf() {
511511
template<class RealType, int N>
512512
void do_test_holtsmark_quantile_nearzero() {
513513
//
514-
// Basic sanity checks, tolerance is either 3 epsilon
514+
// Basic sanity checks, tolerance is 3 epsilon
515515
// expressed as a percentage:
516516
//
517517
BOOST_MATH_STD_USING
@@ -669,7 +669,7 @@ void do_test_holtsmark_quantile_nearzero() {
669669
template<class RealType, int N>
670670
void do_test_holtsmark_quantile_lower() {
671671
//
672-
// Basic sanity checks, tolerance is either 3 epsilon
672+
// Basic sanity checks, tolerance is 3 epsilon
673673
// expressed as a percentage:
674674
//
675675
BOOST_MATH_STD_USING
@@ -718,7 +718,7 @@ void do_test_holtsmark_quantile_lower() {
718718
template<class RealType, int N>
719719
void do_test_holtsmark_quantile_upper() {
720720
//
721-
// Basic sanity checks, tolerance is either 3 epsilon
721+
// Basic sanity checks, tolerance is 3 epsilon
722722
// expressed as a percentage:
723723
//
724724
BOOST_MATH_STD_USING
@@ -744,7 +744,7 @@ void do_test_holtsmark_quantile_upper() {
744744
template<class RealType, int N>
745745
void do_test_holtsmark_locscale_param() {
746746
//
747-
// Basic sanity checks, tolerance is either 3 epsilon
747+
// Basic sanity checks, tolerance is 3 epsilon
748748
// expressed as a percentage:
749749
//
750750

Diff for: test/test_landau.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ using boost::math::landau_distribution;
3333
template<class RealType, int N>
3434
void do_test_landau_pdf(){
3535
//
36-
// Basic sanity checks, tolerance is either 3 epsilon
36+
// Basic sanity checks, tolerance is 3 epsilon
3737
// expressed as a percentage:
3838
//
3939
BOOST_MATH_STD_USING
@@ -234,7 +234,7 @@ void do_test_landau_pdf(){
234234
template<class RealType, int N>
235235
void do_test_landau_cdf() {
236236
//
237-
// Basic sanity checks, tolerance is either 3 epsilon
237+
// Basic sanity checks, tolerance is 3 epsilon
238238
// expressed as a percentage:
239239
//
240240
BOOST_MATH_STD_USING
@@ -329,7 +329,7 @@ void do_test_landau_cdf() {
329329
template<class RealType, int N>
330330
void do_test_landau_ccdf() {
331331
//
332-
// Basic sanity checks, tolerance is either 3 epsilon
332+
// Basic sanity checks, tolerance is 3 epsilon
333333
// expressed as a percentage:
334334
//
335335
BOOST_MATH_STD_USING
@@ -515,7 +515,7 @@ void do_test_landau_ccdf() {
515515
template<class RealType, int N>
516516
void do_test_landau_quantile_nearzero() {
517517
//
518-
// Basic sanity checks, tolerance is either 3 epsilon
518+
// Basic sanity checks, tolerance is 3 epsilon
519519
// expressed as a percentage:
520520
//
521521
BOOST_MATH_STD_USING
@@ -564,7 +564,7 @@ void do_test_landau_quantile_nearzero() {
564564
template<class RealType, int N>
565565
void do_test_landau_quantile_lower() {
566566
//
567-
// Basic sanity checks, tolerance is either 3 epsilon
567+
// Basic sanity checks, tolerance is 3 epsilon
568568
// expressed as a percentage:
569569
//
570570
BOOST_MATH_STD_USING
@@ -634,7 +634,7 @@ void do_test_landau_quantile_lower() {
634634
template<class RealType, int N>
635635
void do_test_landau_quantile_upper() {
636636
//
637-
// Basic sanity checks, tolerance is either 3 epsilon
637+
// Basic sanity checks, tolerance is 3 epsilon
638638
// expressed as a percentage:
639639
//
640640
BOOST_MATH_STD_USING
@@ -688,7 +688,7 @@ void do_test_landau_quantile_upper() {
688688
template<class RealType, int N>
689689
void do_test_landau_locscale_param() {
690690
//
691-
// Basic sanity checks, tolerance is either 3 epsilon
691+
// Basic sanity checks, tolerance is 3 epsilon
692692
// expressed as a percentage:
693693
//
694694

Diff for: test/test_mapairy.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ using boost::multiprecision::cpp_bin_float_quad;
3434
template<class RealType, int N>
3535
void do_test_mapairy_pdf(){
3636
//
37-
// Basic sanity checks, tolerance is either 3 epsilon
37+
// Basic sanity checks, tolerance is 3 epsilon
3838
// expressed as a percentage:
3939
//
4040
BOOST_MATH_STD_USING
@@ -266,7 +266,7 @@ void do_test_mapairy_pdf(){
266266
template<class RealType, int N>
267267
void do_test_mapairy_cdf() {
268268
//
269-
// Basic sanity checks, tolerance is either 3 epsilon
269+
// Basic sanity checks, tolerance is 3 epsilon
270270
// expressed as a percentage:
271271
//
272272
BOOST_MATH_STD_USING
@@ -391,7 +391,7 @@ void do_test_mapairy_cdf() {
391391
template<class RealType, int N>
392392
void do_test_mapairy_ccdf() {
393393
//
394-
// Basic sanity checks, tolerance is either 3 epsilon
394+
// Basic sanity checks, tolerance is 3 epsilon
395395
// expressed as a percentage:
396396
//
397397
BOOST_MATH_STD_USING
@@ -585,7 +585,7 @@ void do_test_mapairy_ccdf() {
585585
template<class RealType, int N>
586586
void do_test_mapairy_quantile_nearzero() {
587587
//
588-
// Basic sanity checks, tolerance is either 3 epsilon
588+
// Basic sanity checks, tolerance is 3 epsilon
589589
// expressed as a percentage:
590590
//
591591
BOOST_MATH_STD_USING
@@ -634,7 +634,7 @@ void do_test_mapairy_quantile_nearzero() {
634634
template<class RealType, int N>
635635
void do_test_mapairy_quantile_lower() {
636636
//
637-
// Basic sanity checks, tolerance is either 3 epsilon
637+
// Basic sanity checks, tolerance is 3 epsilon
638638
// expressed as a percentage:
639639
//
640640
BOOST_MATH_STD_USING
@@ -705,7 +705,7 @@ void do_test_mapairy_quantile_lower() {
705705
template<class RealType, int N>
706706
void do_test_mapairy_quantile_upper() {
707707
//
708-
// Basic sanity checks, tolerance is either 3 epsilon
708+
// Basic sanity checks, tolerance is 3 epsilon
709709
// expressed as a percentage:
710710
//
711711
BOOST_MATH_STD_USING
@@ -767,7 +767,7 @@ void do_test_mapairy_quantile_upper() {
767767
template<class RealType, int N>
768768
void do_test_mapairy_locscale_param() {
769769
//
770-
// Basic sanity checks, tolerance is either 3 epsilon
770+
// Basic sanity checks, tolerance is 3 epsilon
771771
// expressed as a percentage:
772772
//
773773

Diff for: test/test_saspoint5.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using boost::multiprecision::cpp_bin_float_quad;
2626
template<class RealType, int N>
2727
void do_test_saspoint5_pdf(){
2828
//
29-
// Basic sanity checks, tolerance is either 3 epsilon
29+
// Basic sanity checks, tolerance is 3 epsilon
3030
// expressed as a percentage:
3131
//
3232
BOOST_MATH_STD_USING
@@ -748,7 +748,7 @@ void do_test_saspoint5_quantile_nearzero() {
748748
template<class RealType, int N>
749749
void do_test_saspoint5_quantile_lower() {
750750
//
751-
// Basic sanity checks, tolerance is either 3 epsilon
751+
// Basic sanity checks, tolerance is 3 epsilon
752752
// expressed as a percentage:
753753
//
754754
BOOST_MATH_STD_USING
@@ -793,7 +793,7 @@ void do_test_saspoint5_quantile_lower() {
793793
template<class RealType, int N>
794794
void do_test_saspoint5_quantile_upper() {
795795
//
796-
// Basic sanity checks, tolerance is either 3 epsilon
796+
// Basic sanity checks, tolerance is 3 epsilon
797797
// expressed as a percentage:
798798
//
799799
BOOST_MATH_STD_USING
@@ -819,7 +819,7 @@ void do_test_saspoint5_quantile_upper() {
819819
template<class RealType, int N>
820820
void do_test_saspoint5_locscale_param() {
821821
//
822-
// Basic sanity checks, tolerance is either 3 epsilon
822+
// Basic sanity checks, tolerance is 3 epsilon
823823
// expressed as a percentage:
824824
//
825825

0 commit comments

Comments
 (0)