Skip to content

Commit

Permalink
Fix extra errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cybaol committed Jun 10, 2024
1 parent def1d13 commit f59c24c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pybind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-13]
os: [ubuntu-22.04, macos-13]
fail-fast: false

steps:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ if(SOPHUS_MASTER_PROJECT)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wno-deprecated-register -Qunused-arguments -fcolor-diagnostics"
"${CMAKE_CXX_FLAGS} -Wall -Wno-error -Wextra -Wno-deprecated-register -Qunused-arguments -fcolor-diagnostics"
)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -std=c++14 -Wno-deprecated-declarations -ftemplate-backtrace-limit=0 -Wno-array-bounds"
"${CMAKE_CXX_FLAGS} -Wall -Wno-error -Wextra -std=c++14 -Wno-deprecated-declarations -ftemplate-backtrace-limit=0 -Wno-array-bounds"
)
endif()

Expand Down
2 changes: 2 additions & 0 deletions sophus/average.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include <complex>

#include <Eigen/Eigenvalues>

#include "cartesian.hpp"
#include "common.hpp"
#include "rxso2.hpp"
Expand Down

0 comments on commit f59c24c

Please sign in to comment.