aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tobias Bosch <tbosch@google.com>2020-02-24 23:09:36 +0000
committerGravatar Tobias Bosch <tbosch@google.com>2020-02-24 23:09:36 +0000
commitf0ce88cff75e2020b4beae54b094c77c526724a2 (patch)
tree50714c5cc26fab96fa63b3c6ab14e440f3998475
parenteb6cc29583f0c2ab30f612dd0bdcfad163a569b0 (diff)
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).
-rw-r--r--Eigen/Core1
-rw-r--r--Eigen/src/Core/arch/Default/Half.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core
index bb8ad464d..688361d46 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -72,6 +72,7 @@
#include <cmath>
#include <cassert>
#include <functional>
+#include <sstream>
#ifndef EIGEN_NO_IO
#include <iosfwd>
#endif
diff --git a/Eigen/src/Core/arch/Default/Half.h b/Eigen/src/Core/arch/Default/Half.h
index 56782b340..9f4c1ebdf 100644
--- a/Eigen/src/Core/arch/Default/Half.h
+++ b/Eigen/src/Core/arch/Default/Half.h
@@ -42,6 +42,7 @@
#define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type()
#endif
+#include <sstream>
namespace Eigen {