Skip to content

Commit

Permalink
added braces
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed May 2, 2024
1 parent 14941c5 commit a36d2c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ int MGmol<OrbitalsType>::save_orbital_snapshot(std::string file_path, OrbitalsTy
if (stat(file_path.c_str(), &s) == 0)
{
if (s.st_mode & S_IFDIR)
{
snapshot_filename = file_path + "/orbital";
}
else if (s.st_mode & S_IFREG)
{
snapshot_filename = file_path + "_orbital";
Expand Down

0 comments on commit a36d2c7

Please sign in to comment.