Include <sstream> explicitly, and don't rely on the implicit include via <complex>.

This implicit dependency does no longer exist in a recent llbm release (sha 78be61871704).
This commit is contained in:
Tobias Bosch 2020-02-24 23:09:36 +00:00 committed by Gael Guennebaud
parent b343baceb4
commit f55a6d051b
2 changed files with 5 additions and 1 deletions

View File

@ -279,7 +279,10 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <functional> #include <functional>
#include <sstream>
#ifndef EIGEN_NO_IO
#include <iosfwd> #include <iosfwd>
#endif
#include <cstring> #include <cstring>
#include <string> #include <string>
#include <limits> #include <limits>

View File

@ -42,6 +42,7 @@
#define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type() #define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type()
#endif #endif
#include <sstream>
namespace Eigen { namespace Eigen {