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
f78e2e3a
Commit
f78e2e3a
authored
6 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
Removing typedeff Scalar different than double. closing
#71
parent
d68a2ad2
No related branches found
No related tags found
1 merge request
!264
Removing typedeff Scalar different than double
Pipeline
#2802
passed
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/base/wolf.h
+1
-9
1 addition, 9 deletions
include/base/wolf.h
with
1 addition
and
9 deletions
include/base/wolf.h
+
1
−
9
View file @
f78e2e3a
...
...
@@ -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
...
...
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