|
Boost : |
From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2006-01-26 02:48:55
The following patch has beeen tested with the new Borland compiler
only, but looks like it should appy for earlier versions too:
cvs diff -wb -- boost\math\octonion.hpp (in directory
E:\sourceforge\devel\boost\)
Index: boost/math/octonion.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/math/octonion.hpp,v
retrieving revision 1.14
diff -w -b -r1.14 octonion.hpp
47c47
< return(octonion(static_cast<type>(0),b,c,d,e,f,g,h));
\
--- > return( octonion<type>(static_cast<type>(0),b,c,d,e,f,g,h)); \ Note that for once the patch is NOT supplied with a BOOST_WORKAROUND, as it is part of a large macro already, and we can't sneak #if statements into a macro ;¬) -- AlisdairM
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk