diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-02-25 05:53:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-02-25 05:53:00 +0000 |
commit | 4d1aa9dbb9b0a89c6524d6e8028a0453d8af5a78 (patch) | |
tree | e406b4b65d3cb03a2f7d253cb89159a2bee3bb3a /Carpet | |
parent | 3cb17dc6fa338871836648969259aa06397a1d6f (diff) |
CarpetLib: Output all digits in error message
Output all digit for the times in the error message indicating that
there is an extrapolation in time.
darcs-hash:20080225055300-dae7b-500b168cc5b5f9c57b31c54e7ee07114062dca51.gz
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/gdata.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc index 4f8244d32..0988578d5 100644 --- a/Carpet/CarpetLib/src/gdata.cc +++ b/Carpet/CarpetLib/src/gdata.cc @@ -1,5 +1,6 @@ #include <cassert> #include <cstdlib> +#include <iomanip> #include <iostream> #include <sstream> @@ -255,7 +256,8 @@ find_source_timelevel (vector <CCTK_REAL> const & times, if (transport_operator != op_copy) { if (time < min_time - eps or time > max_time + eps) { ostringstream buf; - buf << "Internal error: extrapolation in time." + buf << setprecision (17) + << "Internal error: extrapolation in time." << " time=" << time << " times=" << times; CCTK_WARN (0, buf.str().c_str()); |