Skip to content

Commit

Permalink
Fix uninitialized output argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggael committed Apr 3, 2018
1 parent e3912f5 commit 524119d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unsupported/Eigen/src/SparseExtra/MarketIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 524119d

Please sign in to comment.