From 7bca968ec2404e6916579edf7ff3ba0fe0d41b24 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Mon, 3 Apr 2017 12:22:16 -0500 Subject: [PATCH] fixed nvcc str() problem in vec3 --- stim/math/vec3.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stim/math/vec3.h b/stim/math/vec3.h index 8674a3a..8f4432b 100644 --- a/stim/math/vec3.h +++ b/stim/math/vec3.h @@ -5,9 +5,7 @@ #include #include -#ifndef __CUDACC__ #include -#endif namespace stim{ @@ -247,7 +245,7 @@ public: return false; } -#ifndef __CUDACC__ +//#ifndef __CUDACC__ /// Outputs the vector as a string std::string str() const{ std::stringstream ss; @@ -265,7 +263,7 @@ std::string str() const{ return ss.str(); } -#endif +//#endif size_t size(){ return 3; } -- libgit2 0.21.4