Skip to content

Commit

Permalink
Merge pull request #5251 from ryanlevy/typoFix
Browse files Browse the repository at this point in the history
Fix two small typos
  • Loading branch information
ye-luo authored Dec 6, 2024
2 parents 27d7b6a + 597e6b2 commit 80a9b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define QMCPACK_VERSION_PATCH @qmcpack_VERSION_PATCH@

/* define the release version */
#cmakedefine QMCPACK_RELEASE @QMCAPCK_RELEASE@
#cmakedefine QMCPACK_RELEASE @QMCPACK_RELEASE@

/* define the git last commit date */
// #cmakedefine QMCPLUSPLUS_LAST_CHANGED_DATE "@QMCPLUSPLUS_LAST_CHANGED_DATE@"
Expand Down
2 changes: 1 addition & 1 deletion src/io/hdf/hdf_archive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bool hdf_archive::create(const std::filesystem::path& fname, unsigned flags)
if (!(Mode[IS_PARALLEL] || Mode[IS_MASTER]))
throw std::runtime_error("Only create file in parallel or by master but not every rank!");
close();
file_id = H5Fcreate(fname.c_str(), H5F_ACC_TRUNC, H5P_DEFAULT, access_id);
file_id = H5Fcreate(fname.c_str(), flags, H5P_DEFAULT, access_id);
return file_id != is_closed;
}

Expand Down

0 comments on commit 80a9b57

Please sign in to comment.