Index: /trunk/doc/pslib/psLibSDRS.tex
===================================================================
--- /trunk/doc/pslib/psLibSDRS.tex	(revision 5874)
+++ /trunk/doc/pslib/psLibSDRS.tex	(revision 5875)
@@ -1,3 +1,3 @@
-%%% $Id: psLibSDRS.tex,v 1.366 2006-01-04 00:02:05 price Exp $
+%%% $Id: psLibSDRS.tex,v 1.367 2006-01-04 00:06:01 price Exp $
 \documentclass[panstarrs,spec]{panstarrs}
 
@@ -5603,5 +5603,6 @@
 A = someCoolImage(); // Initialise A
 
-B = psBinaryOp (NULL, A, "^", psScalarAlloc(2, PS_TYPE_S16)); 
+B = (psImage*)psBinaryOp (NULL, A, "^", psScalarAlloc(2, PS_TYPE_S16));
+// Note, have to cast the output to a psImage for proper compilation
 psUnaryOp(B, B, "sin");
 \end{verbatim}
