Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1494 - trunk/Core/Math
- Date: Wed, 18 Jul 2007 14:10:53 -0600 (MDT)
Author: bigler
Date: Wed Jul 18 14:10:52 2007
New Revision: 1494
Modified:
trunk/Core/Math/CheapRNG.h
Log:
Core/Math/CheapRNG.h
Added interface for aligned allocator. This should solve a crashing
bug when you allocated non aligned CheapRNGs.
Modified: trunk/Core/Math/CheapRNG.h
==============================================================================
--- trunk/Core/Math/CheapRNG.h (original)
+++ trunk/Core/Math/CheapRNG.h Wed Jul 18 14:10:52 2007
@@ -57,10 +57,12 @@
#include <Interface/RandomNumberGenerator.h>
#include <MantaSSE.h>
#include <Core/Math/SSEDefs.h>
+#include <Core/Util/AlignedAllocator.h>
namespace Manta {
- class CheapRNG: public RandomNumberGenerator {
+ class CheapRNG: public RandomNumberGenerator,
+ public AlignedAllocator<CheapRNG> {
public:
// You need to make sure that this is 32 bits or you are in
// trouble. It also needs to be public to initialize the static
- [MANTA] r1494 - trunk/Core/Math, bigler, 07/18/2007
Archive powered by MHonArc 2.6.16.