Commit 186382eb authored by Gustavo Valiente's avatar Gustavo Valiente

gcc 7.3.0 build fix

parent 8b0f6817
......@@ -5,13 +5,14 @@
* MIT License, see LICENSE file.
*/
#ifndef HIKE_THREAD_POOL_H
#define HIKE_THREAD_POOL_H
#ifndef PT_DISPATCHER_H
#define PT_DISPATCHER_H
#include <vector>
#include <deque>
#include <thread>
#include <mutex>
#include <vector>
#include <thread>
#include <functional>
#include <condition_variable>
namespace pt
......
......@@ -504,7 +504,7 @@ std::ostream& operator<<(std::ostream& stream, const Tensor& tensor)
{
const auto& dims = tensor.getDims();
std::vector<std::size_t> steps(dims.size());
std::partial_sum(dims.rbegin(), dims.rend(), steps.rbegin(), std::multiplies<>());
std::partial_sum(dims.rbegin(), dims.rend(), steps.rbegin(), std::multiplies<std::size_t>());
size_t count = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment