Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
cc30a6bd
Commit
cc30a6bd
authored
3 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
cosmetics
parent
478adc76
No related branches found
No related tags found
No related merge requests found
Pipeline
#6920
passed
3 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
src/processor/processor_base.cpp
+1
-1
1 addition, 1 deletion
src/processor/processor_base.cpp
with
2 additions
and
1 deletion
CMakeLists.txt
+
1
−
0
View file @
cc30a6bd
...
@@ -7,6 +7,7 @@ if(COMMAND cmake_policy)
...
@@ -7,6 +7,7 @@ if(COMMAND cmake_policy)
cmake_policy
(
SET CMP0005 NEW
)
cmake_policy
(
SET CMP0005 NEW
)
cmake_policy
(
SET CMP0003 NEW
)
cmake_policy
(
SET CMP0003 NEW
)
endif
(
COMMAND cmake_policy
)
endif
(
COMMAND cmake_policy
)
# MAC OSX RPATH
# MAC OSX RPATH
SET
(
CMAKE_MACOSX_RPATH 1
)
SET
(
CMAKE_MACOSX_RPATH 1
)
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_base.cpp
+
1
−
1
View file @
cc30a6bd
...
@@ -121,7 +121,7 @@ void ProcessorBase::link(SensorBasePtr _sen_ptr)
...
@@ -121,7 +121,7 @@ void ProcessorBase::link(SensorBasePtr _sen_ptr)
void
ProcessorBase
::
setProblem
(
ProblemPtr
_problem
)
void
ProcessorBase
::
setProblem
(
ProblemPtr
_problem
)
{
{
std
::
string
str
=
"Processor works with "
+
std
::
to_string
(
dim_
)
+
"D but problem is "
+
std
::
to_string
(
_problem
->
getDim
())
+
"D"
;
std
::
string
str
=
"Processor works with "
+
std
::
to_string
(
dim_
)
+
"D but problem is "
+
std
::
to_string
(
_problem
->
getDim
())
+
"D"
;
assert
((
dim_
==
0
or
dim_
==
_problem
->
getDim
())
&&
str
.
c_str
());
assert
((
(
dim_
==
0
)
or
(
dim_
==
_problem
->
getDim
())
)
&&
str
.
c_str
());
if
(
_problem
==
nullptr
or
_problem
==
this
->
getProblem
())
if
(
_problem
==
nullptr
or
_problem
==
this
->
getProblem
())
return
;
return
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment