From 48a7c780cf8b43b929c4174b8fdbaaf6d8eaec8f Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Tue, 27 Jun 2017 12:53:37 -0500 Subject: [PATCH] added a fiber diagram to the NWT file format powerpoint --- stim/biomodels/nwt_format.pptx | Bin 55488 -> 0 bytes stim/iVote/ivote2.cuh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stim/biomodels/nwt_format.pptx b/stim/biomodels/nwt_format.pptx index 4bc8308..6f3e0da 100644 Binary files a/stim/biomodels/nwt_format.pptx and b/stim/biomodels/nwt_format.pptx differ diff --git a/stim/iVote/ivote2.cuh b/stim/iVote/ivote2.cuh index e1cacb7..47e388e 100644 --- a/stim/iVote/ivote2.cuh +++ b/stim/iVote/ivote2.cuh @@ -64,7 +64,7 @@ namespace stim { } T th_step = ((Imax - Imin) / th_num); - vector var_b; + std::vector var_b; for (unsigned int t0 = 0; t0 < th_num; t0++) { T th = t0 * th_step + Imin; unsigned int n_b(0), n_o(0); //these variables save the number of elements that are below and over the threshold @@ -86,7 +86,7 @@ namespace stim { var_b.push_back(n_b * n_o * pow((m_b - m_o), 2)); } - vector::iterator max_var = std::max_element(var_b.begin(), var_b.end()); //finding maximum elements in the vector + std::vector::iterator max_var = std::max_element(var_b.begin(), var_b.end()); //finding maximum elements in the vector size_t th_idx = std::distance(var_b.begin(), max_var); T threshold = Imin + (T)(th_idx * th_step); return threshold; -- libgit2 0.21.4