diff options
author | Ryan Prichard <rprichard@google.com> | 2021-03-29 16:45:18 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2021-03-29 16:45:18 -0700 |
commit | df03366956f999a368ae025997603e82c93edc2b (patch) | |
tree | b759c77cbd80c075943070072ecca105696b2a18 | |
parent | a3ec61e3a219a70a8db5fe198e0de607c0b880c6 (diff) | |
download | eigen-df03366956f999a368ae025997603e82c93edc2b.tar.gz |
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).
(cherry picked from commit f0ce88cff75e2020b4beae54b094c77c526724a2)
Bug: none
Test: treehugger
Change-Id: I99de5fa44b488209f60cec59902574e0f91cbce0
-rw-r--r-- | Eigen/Core | 1 | ||||
-rw-r--r-- | Eigen/src/Core/arch/CUDA/Half.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core index 0f7fa630d..ac7e39418 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -260,6 +260,7 @@ #include <cmath> #include <cassert> #include <functional> +#include <sstream> #include <iosfwd> #include <cstring> #include <string> diff --git a/Eigen/src/Core/arch/CUDA/Half.h b/Eigen/src/Core/arch/CUDA/Half.h index 294c517ea..88dd385a5 100644 --- a/Eigen/src/Core/arch/CUDA/Half.h +++ b/Eigen/src/Core/arch/CUDA/Half.h @@ -42,6 +42,7 @@ #define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type() #endif +#include <sstream> namespace Eigen { |