Text archives Help
- From: sparker@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1260 - trunk/Interface
- Date: Sat, 16 Dec 2006 11:43:33 -0700 (MST)
Author: sparker
Date: Sat Dec 16 11:43:32 2006
New Revision: 1260
Modified:
trunk/Interface/RayPacket.h
Log:
Fix compile error with debugging turned n
Modified: trunk/Interface/RayPacket.h
==============================================================================
--- trunk/Interface/RayPacket.h (original)
+++ trunk/Interface/RayPacket.h Sat Dec 16 11:43:32 2006
@@ -806,10 +806,10 @@
char unnamed[ ( sizeof(T) == 4 || sizeof(T) == 8) ? 1 : 0 ];
ASSERT(idx >= 0);
if(sizeof(T) == 4){
- ASSERT(idx < MaxScratchpad4);
+ ASSERT(idx < RayPacketData::MaxScratchpad4);
return (T*)data->scratchpad4[idx];
} else {
- ASSERT(idx < MaxScratchpad8);
+ ASSERT(idx < RayPacketData::MaxScratchpad8);
return (T*)data->scratchpad8[idx];
}
}
- [MANTA] r1260 - trunk/Interface, sparker, 12/16/2006
Archive powered by MHonArc 2.6.16.