Skip to content

Commit

Permalink
ci: use C++14 when building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Jan 11, 2024
1 parent 0eb7f0d commit 6ab710a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,22 @@ jobs:
- name: Example - include only
working-directory: examples
run: |
$CXX \
$CXX --std=c++14 \
-DPRESSIO_ENABLE_TPL_EIGEN \
-I/eigen/eigen-${{ env.eigen_version }} \
-I../include \
-c main.cpp \
&& $CXX -o pressio-example main.o \
&& $CXX --std=c++14 -o pressio-example main.o \
&& ./pressio-example
- name: Example - include only with embedded definitions
working-directory: examples
run: |
$CXX \
$CXX --std=c++14 \
-I/eigen/eigen-${{ env.eigen_version }} \
-I../include \
-c main_with_defines.cpp \
&& $CXX -o pressio-example main.o \
&& $CXX --std=c++14 -o pressio-example main.o \
&& ./pressio-example
- name: Configure
Expand Down
4 changes: 2 additions & 2 deletions include/pressio/mpl/is_std_complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ struct is_std_complex : std::false_type{};
template <typename T>
struct is_std_complex<T, typename
std::enable_if_t<
std::is_same_v<T,
std::is_same<T,
std::complex<typename T::value_type>
>
>::value
>
> : std::true_type{};

Expand Down

0 comments on commit 6ab710a

Please sign in to comment.