From 103f74161988299324d301bd9e71f04a1d5142a1 Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Mon, 9 Nov 2009 14:08:44 -0500 Subject: [PATCH] initialize Eigen::Complex arrays --- unsupported/test/Complex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unsupported/test/Complex.cpp b/unsupported/test/Complex.cpp index bedeb9f27..d5af0a6c3 100644 --- a/unsupported/test/Complex.cpp +++ b/unsupported/test/Complex.cpp @@ -39,10 +39,11 @@ using namespace Eigen; template void take_std( std::complex * dst, int n ) { + for (int i=0;i(i,i); cout << dst[n-1] << endl; } - template void syntax() {