Bug: included std::accumulate header

This commit is contained in:
gineshidalgo99
2017-05-05 12:51:11 -04:00
parent 6ed98cc1f7
commit 3e6ecc1e82
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
#include <typeinfo> // typeid
#include <numeric> // std::accumulate
#include "openpose/utilities/errorAndLog.hpp"
#include "openpose/core/array.hpp"
@@ -340,8 +341,8 @@ namespace op
{
try
{
int index = 0;
int accumulated = 1;
auto index = 0;
auto accumulated = 1;
for (auto i = 0 ; i < indexes.size() ; i++)
{
index += accumulated * indexes[i];
+1
View File
@@ -1,4 +1,5 @@
#ifdef USE_CAFFE
#include <numeric> // std::accumulate
#include "openpose/utilities/cuda.hpp"
#include "openpose/utilities/errorAndLog.hpp"
#include "openpose/core/netCaffe.hpp"