Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two small typos #5251

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading