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
Merge requests
!264
Removing typedeff Scalar different than double
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Removing typedeff Scalar different than double
documentation_scalar
into
devel
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Joan Vallvé Navarro
requested to merge
documentation_scalar
into
devel
6 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Closing
#71 (closed)
0
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
f78e2e3a
1 commit,
6 years ago
1 file
+
1
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
include/base/wolf.h
+
1
−
9
Options
@@ -31,19 +31,11 @@ namespace wolf {
/**
* \brief scalar type for the Wolf project
*
* This typedef makes it possible to recompile the whole Wolf project with double, float, or other precisions.
*
* To change the project precision, just edit wolf.h and change the precision of this typedef.
*
* Do NEVER forget to use Wolf scalar definitions when you code!!!
*
* Do NEVER use plain Eigen scalar types!!! (This is redundant with the above. But just to make sure you behave!)
*
* The ONLY exception to this rule is when you need special precision. The ONLY example by now is the time stamp which uses double.
*/
//typedef float Scalar; // Use this for float, 32 bit precision
typedef
double
Scalar
;
// Use this for double, 64 bit precision
//typedef long double Scalar; // Use this for long double, 128 bit precision
typedef
double
Scalar
;
/**
* \brief Vector and Matrices size type for the Wolf project
Loading