Fix uninitialized output argument.

This commit is contained in:
Gael Guennebaud 2018-04-03 10:56:10 +02:00
parent e3912f5e63
commit 524119d32a

View File

@ -109,6 +109,7 @@ namespace internal
inline bool getMarketHeader(const std::string& filename, int& sym, bool& iscomplex, bool& isvector)
{
sym = 0;
iscomplex = false;
isvector = false;
std::ifstream in(filename.c_str(),std::ios::in);
if(!in)