From 96e8ab1f6220f97b8e83f1cc516ea0c47c52ef8f Mon Sep 17 00:00:00 2001 From: David Date: Tue, 18 Oct 2016 16:16:38 -0500 Subject: [PATCH] fixed stim::cylinder template error --- stim/visualization/cylinder.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/stim/visualization/cylinder.h b/stim/visualization/cylinder.h index 0c1442c..19c3bd1 100644 --- a/stim/visualization/cylinder.h +++ b/stim/visualization/cylinder.h @@ -4,6 +4,9 @@ #include #include +/* + +*/ namespace stim { @@ -12,13 +15,13 @@ class cylinder : public centerline { private: - stim::circle s; //an arbitrary circle - std::vector > e; //an array of circles that store the centerline + stim::circle s; //an arbitrary circle + std::vector > e; //an array of circles that store the centerline std::vector > norms; std::vector > Us; - std::vector > mags; - std::vector< T > L; //length of the cylinder at each position. + std::vector > mags; //stores a list of magnitudes for each point in the centerline (assuming mags[0] is the radius) + std::vector< T > L; //length of the cylinder at each position (pre-integration) using stim::centerline::c; @@ -234,7 +237,7 @@ class cylinder cylinder(std::vector< stim::vec3 > inP) : centerline(inP) { - std::vector< T > inM; //create an array of arbitrary magnitudes + std::vector< stim::vec > inM; //create an array of arbitrary magnitudes stim::vec zero; zero.push_back(0); -- libgit2 0.21.4