xtensor-stack / xtensor-benchmark

Easy to use benchmarks for linear algebra frameworks
BSD 3-Clause "New" or "Revised" License
24 stars 8 forks source link

fix slice vector syntax #6

Open benman1 opened 6 years ago

benman1 commented 6 years ago

I got compiler errors with slice_vector. I made this change, so the benchmark ran:

diff --git a/src/benchmark_views.hpp b/src/benchmark_views.hpp index a362ec7..681a675 100644 --- a/src/benchmark_views.hpp +++ b/src/benchmark_views.hpp @@ -14,6 +14,7 @@

include "xtensor/xtensor.hpp"

include "xtensor/xarray.hpp"

include "xtensor/xstrided_view.hpp"

+#include "xtensor/xstrided_view.hpp"

include "xtensor/xview.hpp"

include "xtensor/xadapt.hpp"

@@ -64,7 +65,7 @@ namespace xt tensor a = random::rand({state.range(0), state.range(0)}); tensor b = random::rand({state.range(0), state.range(0)});