|   Registered Member   
 | 
							Why seems the following code snippet not allowed by Eigen? 
 When feeding two ArrayXd arrays, there is a compilation error occuring for the statement x = 3*a: error: no viable conversion from 'const CwiseUnaryOp<internal::scalar_multiple_op<double>, const Ref<Array<double, -1, 1, 0, -1, 1>, 0, InnerStride<1> > >' to 'const RefBase<Ref<Array<double, -1, 1, 0, -1, 1>, 0, InnerStride<1> > >' Is it work in progress (Ref<> is not yet in a tagged release), or might it be a bug? Or do I misunderstand the usage of Ref<> objects...   | 
|   Registered Member   
 | 
							This turned out to be work in progress, and has now been fixed in the developer branch. Thanks to Gaël!
						 | 
|   Moderator   
 | 
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]
 
		 
		 
		 
		