Using BLAIS with MSVC++6.0 ?

david moloney <[email protected]> Tue, 03 May 2005 15:39:02 +0100
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
I've done my own small matrix class and sparse-matrix vector multiply.  
It seems to be 5-6x faster than MTL but I've been unable to get BLAIS to 
work to see if the difference is really that large or not.

Using MSVC++6.0 I set #define USE_BLAIS 1 and got about 20 or so compile 
errors of the form:

C:\MASTERS\APPS\ITL-4.0.0-1+MTL-2.1.2-20\MTL-2.1.2-20\mtl/blais.h(134) : 
error C2989: '__recur_set<0,N>' : template class has already been 
defined as a non-template class
C:\MASTERS\APPS\ITL-4.0.0-1+MTL-2.1.2-20\MTL-2.1.2-20\mtl/blais.h(134) : 
error C2988: unrecognizable template declaration/definition

Is there a fix for this?

BTW the same code compiles and runs w/ g++ 3.3.3 under Cygwin but I 
cannot get very accurate timing like I can in MSVC++.

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/