Skip to content

Commit

Permalink
correct numAtoms in xyz writer
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzgubler authored and stigrj committed Feb 6, 2024
1 parent dcf4a00 commit b94438c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vc_sqnm/mrchem_optimizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void writeXYZFile(std::ofstream& xyzFile, const Eigen::MatrixXd& atomicPositions
return;
}

int numAtoms = atomicPositions.rows();
int numAtoms = atomicPositions.cols();

double bohrToAng = 1.0 / PhysicalConstants::get("angstrom2bohrs");

Expand Down

0 comments on commit b94438c

Please sign in to comment.