Commit 85533c45 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

Ainur: bug fix for usecomplex

parent b4197dfc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -69,7 +69,8 @@ struct MyProxyFor<ComplexOrRealType, true> {
			buffer += str[i];
		}

		return ComplexOrRealType(real1, atof(buffer.c_str()));
		return (flag) ? ComplexOrRealType(real1, atof(buffer.c_str())) :
		                ComplexOrRealType(atof(buffer.c_str()), 0);
	}
};