diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-08-14 20:16:04 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-08-14 20:16:04 -0400 |
commit | fe4a86443f6f9b55c6da6e63c4227b0d9862f27f (patch) | |
tree | b44cda7ad196f591e8364f80fa1ad75ad84d4db9 /Eigen/src/Core/IO.h | |
parent | a5f820b873d61868c6833a004c56b8ba38c40d5d (diff) |
fix warning
Diffstat (limited to 'Eigen/src/Core/IO.h')
-rw-r--r-- | Eigen/src/Core/IO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/IO.h b/Eigen/src/Core/IO.h index 03e1af17d..a44802ed2 100644 --- a/Eigen/src/Core/IO.h +++ b/Eigen/src/Core/IO.h @@ -165,7 +165,7 @@ std::ostream & ei_print_matrix(std::ostream & s, const Derived& _m, const IOForm width = std::max<int>(width, int(sstr.str().length())); } } - std::streamsize old_precision; + std::streamsize old_precision = 0; if(explicit_precision) old_precision = s.precision(explicit_precision); s << fmt.matPrefix; for(int i = 0; i < m.rows(); ++i) |