From 470ab6115f8d78e74b447352624db1ab50a8b5a2 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Thu, 17 Aug 2017 08:23:07 -0500 Subject: [PATCH] started fixing warnings, but left some that were ambiguous - the developer should fix them --- stim/biomodels/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stim/biomodels/network.h b/stim/biomodels/network.h index bd799a0..06c376e 100644 --- a/stim/biomodels/network.h +++ b/stim/biomodels/network.h @@ -1113,7 +1113,7 @@ public: unsigned int id = 0; // split value for(unsigned e = 0; e < E.size(); e++){ // for every edge for(unsigned p = 0; p < E[e].size() - 1; p++){ // for every point in each edge - int t = E[e].length() / sigma * 2; + int t = (int)(E[e].length() / sigma * 2); if (t <= 20) threshold_fac = E[e].size(); else -- libgit2 0.21.4