|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57459 - sandbox/math_toolkit/libs/math/example
From: pbristow_at_[hidden]
Date: 2009-11-07 12:57:55
Author: pbristow
Date: 2009-11-07 12:57:55 EST (Sat, 07 Nov 2009)
New Revision: 57459
URL: http://svn.boost.org/trac/boost/changeset/57459
Log:
added missing newline at end of file.
Compiles OK with \Za disable SM extensions and NO warnings.
Text files modified:
sandbox/math_toolkit/libs/math/example/policy_eg_1.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: sandbox/math_toolkit/libs/math/example/policy_eg_1.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/example/policy_eg_1.cpp (original)
+++ sandbox/math_toolkit/libs/math/example/policy_eg_1.cpp 2009-11-07 12:57:55 EST (Sat, 07 Nov 2009)
@@ -16,7 +16,7 @@
domain_error<errno_on_error>,
pole_error<errno_on_error>,
overflow_error<errno_on_error>,
- evaluation_error<errno_on_error>
+ evaluation_error<errno_on_error>
> c_policy;
//
// Now use the policy when calling tgamma:
@@ -24,13 +24,12 @@
int main()
{
errno = 0;
- std::cout << "Result of tgamma(30000) is: "
+ std::cout << "Result of tgamma(30000) is: "
<< boost::math::tgamma(30000, c_policy()) << std::endl;
std::cout << "errno = " << errno << std::endl;
- std::cout << "Result of tgamma(-10) is: "
+ std::cout << "Result of tgamma(-10) is: "
<< boost::math::tgamma(-10, c_policy()) << std::endl;
std::cout << "errno = " << errno << std::endl;
}
//]
-
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