From 37eb97c9dbdda4ed2b8445291107aa51f332e97b Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 14 Jan 2009 10:29:04 +0000 Subject: [PATCH] MEDMEM Industrialization 2008 +// Do define OPTIMIZE here and not in makefile to avoid problems +// due to different sizeof(TransformedTriangle) in different packages +#define OPTIMIZE --- src/INTERP_KERNEL/TransformedTriangle.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/INTERP_KERNEL/TransformedTriangle.hxx b/src/INTERP_KERNEL/TransformedTriangle.hxx index 62f58c82e..d8ac94ec7 100644 --- a/src/INTERP_KERNEL/TransformedTriangle.hxx +++ b/src/INTERP_KERNEL/TransformedTriangle.hxx @@ -5,7 +5,9 @@ #include - +// Do define OPTIMIZE here and not in makefile to avoid problems +// due to different sizeof(TransformedTriangle) in different packages +#define OPTIMIZE #ifdef OPTIMIZE /// OPT_INLINE will be replaced by "inline" if OPTIMIZE is defined and else nothing @@ -121,7 +123,7 @@ namespace INTERP_KERNEL enum DoubleProduct { C_YZ = 0, C_ZX, C_XY, C_ZH, C_XH, C_YH, C_01, C_10, NO_DP }; TransformedTriangle(double* p, double* q, double* r); - ~TransformedTriangle(); + virtual ~TransformedTriangle(); double calculateIntersectionVolume(); -- 2.39.2