Skip to content

Commit

Permalink
one line one variable to satisfy the stupid bot
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Sep 12, 2024
1 parent b66049b commit d94f545
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions source/module_ri/write_ri_cv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ namespace LRI_CV_Tools
template<typename T>
TLRI<T> read_Cs_ao(const std::string& file_path, double threshold)
{
int natom = 0, ncell = 0, ia1 = 0, ia2 = 0, ic_1 = 0, ic_2 = 0, ic_3 = 0;
std::size_t nw1 = 0, nw2 = 0, nabf = 0;
int natom = 0;
int ncell = 0;
int ia1 = 0;
int ia2 = 0;
int ic_1 = 0;
int ic_2 = 0;
int ic_3 = 0;
std::size_t nw1 = 0;
std::size_t nw2 = 0;
std::size_t nabf = 0;
std::ifstream infile;
infile.open(file_path);
infile >> natom >> ncell; // no use of ncell
Expand Down Expand Up @@ -75,8 +83,15 @@ namespace LRI_CV_Tools
template<typename T>
TLRI<T> read_Vs_abf(const std::string& file_path, double threshold)
{
int natom = 0, ncell = 0, ia1 = 0, ia2 = 0, ic_1 = 0, ic_2 = 0, ic_3 = 0;
std::size_t nabf1 = 0, nabf2 = 0;
int natom = 0;
int ncell = 0;
int ia1 = 0;
int ia2 = 0;
int ic_1 = 0;
int ic_2 = 0;
int ic_3 = 0;
std::size_t nabf1 = 0;
std::size_t nabf2 = 0;
std::ifstream infile;
infile.open(file_path);
infile >> natom >> ncell; // no use of ncell
Expand Down

0 comments on commit d94f545

Please sign in to comment.