Skip to content

Commit 266bd9c

Browse files
committed
include 15.05 in range
1 parent e8dde84 commit 266bd9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/benchmark_views.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace xt
6868
tensor a = random::rand<double>({state.range(0), state.range(0)});
6969
tensor b = random::rand<double>({state.range(0), state.range(0)});
7070

71-
#if XTENSOR_VERSION > 1505
71+
#if XTENSOR_VERSION >= 1505
7272
auto sv = xt::slice_vector{range(0, 5), range(0, 5)};
7373
#else
7474
auto sv = xt::slice_vector(a, {range(0, 5), range(0, 5)});
@@ -131,7 +131,7 @@ namespace xt
131131
tensor a = random::rand<double>({state.range(0)});
132132
tensor b = random::rand<double>({state.range(0)});
133133

134-
#if XTENSOR_VERSION > 1505
134+
#if XTENSOR_VERSION >= 1505
135135
auto sv = xt::slice_vector{range(0, state.range(0), 2)};
136136
#else
137137
auto sv = xt::slice_vector(a, range(0, state.range(0), 2));

0 commit comments

Comments
 (0)