Skip to content

Commit c6bdf73

Browse files
authored
Merge pull request #582 from xtensor-stack/feature/test-clang-cl-i686
Activate test on 32bit windows
2 parents 094b567 + fd81d67 commit c6bdf73

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ build: false
33
os: Visual Studio 2015
44

55
platform:
6+
- x86
67
- x64
78

89
environment:
@@ -40,7 +41,8 @@ install:
4041
- conda update -q conda
4142
- conda info -a
4243
- conda install cmake xtl -c conda-forge
43-
- cmake -G "NMake Makefiles" -D DOWNLOAD_GTEST=1 -D ENABLE_XTL_COMPLEX=1 -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\LIBRARY -D CMAKE_BUILD_TYPE=Release .
44+
- ps: if($env:Platform -eq "x64"){$env:EnableXTL=1} else {$env:EnableXTL=0}
45+
- cmake -G "NMake Makefiles" -D DOWNLOAD_GTEST=1 -D ENABLE_XTL_COMPLEX=%EnableXTL% -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\LIBRARY -D CMAKE_BUILD_TYPE=Release .
4446
- nmake test_xsimd
4547
- cd test
4648

include/xsimd/types/xsimd_batch.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct batch : types::simd_register<T, A> {
3333
batch() = default;
3434
batch(T val);
3535
batch(std::initializer_list<T> data) : batch(data.begin(), detail::make_index_sequence<size>()) {}
36-
explicit batch(batch_bool_type b);
36+
explicit batch(batch_bool_type const &b);
3737
batch(register_type reg) : types::simd_register<T, A>({reg}) {}
3838

3939
template<class U>
@@ -363,7 +363,7 @@ template<class T, class A>
363363
batch<T, A>::batch(T val) : types::simd_register<T, A>(kernel::broadcast<A>(val, A{})) {}
364364

365365
template<class T, class A>
366-
batch<T, A>::batch(batch_bool<T, A> b) : batch(kernel::from_bool(b, A{})) {}
366+
batch<T, A>::batch(batch_bool<T, A> const &b) : batch(kernel::from_bool(b, A{})) {}
367367

368368
template<class T, class A>
369369
template<size_t... Is>

0 commit comments

Comments
 (0)