Skip to content

Commit

Permalink
Fixed uninitialized variable use in libint2::molden::Export
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Nov 6, 2017
1 parent 1cea0b5 commit 0862860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Following is a brief summary of changes made in each release of Libint.

- 2017-xx-yy: 2.4.1
- plugged leaky Engine::set_{param,oper,braket}
- fixed uninitialized value use by libint2::molden::Export

- 2017-10-25: 2.4.0
- changed default to use user-provided boost over bundled boost + minor fixes
Expand Down
2 changes: 1 addition & 1 deletion include/libint2/lcao/molden.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class Export {
std::vector<std::string> labels_;
std::vector<bool> spins_;
mutable bool
dfg_is_cart_[3]; // whether {d, f, g} shells are cartesian (true) or
dfg_is_cart_[3] = {true, true, true}; // whether {d, f, g} shells are cartesian (true) or
// solid harmonics (false)
std::vector<std::vector<long>>
atom2shell_; // maps atom -> shell indices in basis_
Expand Down

0 comments on commit 0862860

Please sign in to comment.