Index: /trunk/psLib/src/mathtypes/psScalar.h
===================================================================
--- /trunk/psLib/src/mathtypes/psScalar.h	(revision 18891)
+++ /trunk/psLib/src/mathtypes/psScalar.h	(revision 18892)
@@ -8,6 +8,6 @@
  * @author Joshua Hoblitt, University of Hawaii
  *
- * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-08-09 01:40:07 $
+ * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2008-08-05 01:23:59 $
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  */
@@ -20,4 +20,6 @@
 
 #include "psType.h"
+
+# define PS_SCALAR_VALUE(DATA,TYPE) (((psScalar *)(DATA))->data.TYPE)
 
 /** Basic scalar data structure.
