From f78e2e3abd959103a072558d67f854775568ec37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Thu, 11 Apr 2019 13:15:58 +0200 Subject: [PATCH] Removing typedeff Scalar different than double. closing #71 --- include/base/wolf.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/base/wolf.h b/include/base/wolf.h index 74b7a0bbb..791336595 100644 --- a/include/base/wolf.h +++ b/include/base/wolf.h @@ -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 -- GitLab