Skip to content

Commit b4e1123

Browse files
Merge pull request #1 from cmastalli/master
Fixe warning and disable Werror
2 parents b7a290d + 2e08dc8 commit b4e1123

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
77

8+
SET (CXX_DISABLE_WERROR ON)
89
INCLUDE(cmake/base.cmake)
910
INCLUDE(cmake/boost.cmake)
1011
INCLUDE(cmake/lapack.cmake)

src/feedback-controller.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ double& FeedbackController::computeForceFeedback(double& force,
7979
"state signal size is ",
8080
"%d, should be 4.",
8181
state.size());
82-
Vector v = -gain_ * state;
82+
Vector v (-gain_ * state);
8383
force = v(0);
8484
return force;
8585
}

0 commit comments

Comments
 (0)