Commit 470ab6115f8d78e74b447352624db1ab50a8b5a2
1 parent
329587ef
started fixing warnings, but left some that were ambiguous - the developer should fix them
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
stim/biomodels/network.h
... | ... | @@ -1113,7 +1113,7 @@ public: |
1113 | 1113 | unsigned int id = 0; // split value |
1114 | 1114 | for(unsigned e = 0; e < E.size(); e++){ // for every edge |
1115 | 1115 | for(unsigned p = 0; p < E[e].size() - 1; p++){ // for every point in each edge |
1116 | - int t = E[e].length() / sigma * 2; | |
1116 | + int t = (int)(E[e].length() / sigma * 2); | |
1117 | 1117 | if (t <= 20) |
1118 | 1118 | threshold_fac = E[e].size(); |
1119 | 1119 | else | ... | ... |