|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79975 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2012-08-12 07:19:23
Author: pbristow
Date: 2012-08-12 07:19:21 EDT (Sun, 12 Aug 2012)
New Revision: 79975
URL: http://svn.boost.org/trac/boost/changeset/79975
Log:
Added (correct) copyright and non-ASCII chars.
Text files modified:
trunk/libs/math/example/error_handling_example.cpp | 3 +++
trunk/libs/math/example/owens_t_example.cpp | 6 +++++-
trunk/libs/math/example/skew_normal_example.cpp | 4 ++--
3 files changed, 10 insertions(+), 3 deletions(-)
Modified: trunk/libs/math/example/error_handling_example.cpp
==============================================================================
--- trunk/libs/math/example/error_handling_example.cpp (original)
+++ trunk/libs/math/example/error_handling_example.cpp 2012-08-12 07:19:21 EDT (Sun, 12 Aug 2012)
@@ -51,6 +51,9 @@
We'll begin our sample program with the needed includes:
*/
+
+ #define BOOST_MATH_DOMAIN_ERROR_POLICY ignore_error
+
// Boost
#include <boost/math/distributions/students_t.hpp>
using boost::math::students_t; // Probability of students_t(df, t).
Modified: trunk/libs/math/example/owens_t_example.cpp
==============================================================================
--- trunk/libs/math/example/owens_t_example.cpp (original)
+++ trunk/libs/math/example/owens_t_example.cpp 2012-08-12 07:19:21 EDT (Sun, 12 Aug 2012)
@@ -1,9 +1,13 @@
-// (C) Benjamin Sobotta 2012
+// Copyright Benjamin Sobotta 2012
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#ifdef _MSC_VER
+# pragma warning(disable : 4127) // conditional expression is constant.
+#endif
+
#include <boost/math/special_functions/owens_t.hpp>
#include <iostream>
Modified: trunk/libs/math/example/skew_normal_example.cpp
==============================================================================
--- trunk/libs/math/example/skew_normal_example.cpp (original)
+++ trunk/libs/math/example/skew_normal_example.cpp 2012-08-12 07:19:21 EDT (Sun, 12 Aug 2012)
@@ -1,4 +1,4 @@
-// (C) Benjamin Sobotta 2012
+// Copyright Benjamin Sobotta 2012
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
@@ -69,7 +69,7 @@
to install packages into? (y/n) y
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
- also installing the dependency mnormt
+ also installing the dependency mnormt
trying URL 'http://mirrors.dotsrc.org/cran/src/contrib/mnormt_1.4-5.tar.gz'
Content type 'application/x-gzip' length 34049 bytes (33 Kb)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk