Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
dynamic-graph
Commits
ca1b2fc5
Commit
ca1b2fc5
authored
Sep 14, 2021
by
Guilhem Saurel
Browse files
linters: fix clang-check-12
parent
c5ddeca6
Pipeline
#16048
passed with stage
in 1 minute and 32 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
ca1b2fc5
_build*
*~
\ No newline at end of file
.~
compile_commands.json
include/dynamic-graph/eigen-io.h
View file @
ca1b2fc5
...
...
@@ -7,15 +7,13 @@
#ifndef DYNAMIC_GRAPH_EIGEN_IO_H
#define DYNAMIC_GRAPH_EIGEN_IO_H
#include
<boost/format.hpp>
#include
<boost/numeric/conversion/cast.hpp>
#pragma GCC diagnostic push
#pragma GCC system_header
#include
<Eigen/Geometry>
#pragma GCC diagnostic pop
#include
<dynamic-graph/exception-signal.h>
#include
<dynamic-graph/linear-algebra.h>
#include
<Eigen/Geometry>
#include
<boost/format.hpp>
#include
<boost/numeric/conversion/cast.hpp>
using
dynamicgraph
::
ExceptionSignal
;
// TODO: Eigen 3.3 onwards has a global Eigen::Index definition.
...
...
include/dynamic-graph/linear-algebra.h
View file @
ca1b2fc5
...
...
@@ -6,11 +6,8 @@
#ifndef DYNAMIC_GRAPH_LINEAR_ALGEBRA_H
#define DYNAMIC_GRAPH_LINEAR_ALGEBRA_H
#pragma GCC diagnostic push
#pragma GCC system_header
#include
<Eigen/Core>
#include
<Eigen/Geometry>
#pragma GCC diagnostic pop
namespace
dynamicgraph
{
typedef
Eigen
::
MatrixXd
Matrix
;
...
...
tests/interpreter-tracer.cpp
deleted
100644 → 0
View file @
c5ddeca6
// Copyright 2010 Thomas Moulard.
//
#include
<dynamic-graph/exception-factory.h>
#include
<dynamic-graph/interpreter.h>
#include
<dynamic-graph/plugin-loader.h>
#include
<sstream>
#define BOOST_TEST_MODULE tracer
#if BOOST_VERSION >= 105900
#include
<boost/test/tools/output_test_stream.hpp>
#else
#include
<boost/test/output_test_stream.hpp>
#endif
#include
<boost/test/unit_test.hpp>
#include
"interpreter.h"
using
boost
::
test_tools
::
output_test_stream
;
// Check that plug-in loading/unloading is working.
BOOST_AUTO_TEST_CASE
(
cmd_tracer
)
{
dynamicgraph
::
PluginLoader
pl
;
// Push paths.
{
RUN_COMMAND
(
"pushImportPaths"
,
TESTS_DATADIR
);
BOOST_CHECK
(
output
.
is_empty
());
}
{
RUN_COMMAND
(
"pushImportPaths"
,
TESTS_PLUGINDIR
);
BOOST_CHECK
(
output
.
is_empty
());
}
// Import tracer.dg
{
RUN_COMMAND
(
"import"
,
"interpreter-tracer.dg"
);
BOOST_CHECK
(
output
.
is_empty
());
}
}
tests/signal-cast-register-test.h
View file @
ca1b2fc5
#pragma GCC diagnostic push
#pragma GCC system_header
#include
<Eigen/Dense>
#pragma GCC diagnostic pop
tests/signal-ptr.cpp
View file @
ca1b2fc5
...
...
@@ -317,6 +317,6 @@ BOOST_AUTO_TEST_CASE(set_signal_string) {
s
.
set
(
value
);
}
catch
(
const
std
::
exception
&
exc
)
{
std
::
cout
<<
exc
.
what
()
<<
std
::
endl
;
BOOST_CHECK
(
!
"Tentative to set signal to empty string"
);
BOOST_CHECK
(
!
(
bool
)(
"Tentative to set signal to empty string"
)
)
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment