Commit 3f5dad13 authored by Mohcine Chraibi's avatar Mohcine Chraibi

build fix for xcode

parent fbb3038a
......@@ -27,7 +27,7 @@ namespace cnpy {
{
num_vals = 1;
for(size_t i = 0;i < shape.size();i++) num_vals *= shape[i];
data_holder = std::shared_ptr<std::vector<char>>(
data_holder = std::shared_ptr<std::vector<char> >(
new std::vector<char>(num_vals * word_size));
}
......@@ -48,7 +48,7 @@ namespace cnpy {
return data_holder->size();
}
std::shared_ptr<std::vector<char>> data_holder;
std::shared_ptr<std::vector<char> > data_holder;
std::vector<size_t> shape;
size_t word_size;
bool fortran_order;
......
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