|   Registered Member   
 | 
							Hi all, compiling the code listed below fails with the following error: 
 The commented out variant works fine. Any ideas what is wrong here? Btw. this happens with GCC 4.3, 4.4 and with Eigen 2 and 3. 
 Best regards, Adam | 
|   Registered Member   
 | 
							You have to write "m.template cast<double>()". This is a rather obscure C++ feature; see http://eigen.tuxfamily.org/dox-devel/To ... yword.html for some explanation.
						 | 
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]
 
		 
		 
		 
		