mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Fix uninitialized output argument.
This commit is contained in:
parent
e3912f5e63
commit
524119d32a
@ -109,6 +109,7 @@ namespace internal
|
|||||||
inline bool getMarketHeader(const std::string& filename, int& sym, bool& iscomplex, bool& isvector)
|
inline bool getMarketHeader(const std::string& filename, int& sym, bool& iscomplex, bool& isvector)
|
||||||
{
|
{
|
||||||
sym = 0;
|
sym = 0;
|
||||||
|
iscomplex = false;
|
||||||
isvector = false;
|
isvector = false;
|
||||||
std::ifstream in(filename.c_str(),std::ios::in);
|
std::ifstream in(filename.c_str(),std::ios::in);
|
||||||
if(!in)
|
if(!in)
|
||||||
|
Loading…
Reference in New Issue
Block a user