mirror of
https://github.com/gosticks/openpose.git
synced 2026-12-04 10:51:39 +00:00
Bug: included std::accumulate header
This commit is contained in:
@@ -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,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"
|
||||
|
||||
Reference in New Issue
Block a user