Skip to content

Commit 028149c

Browse files
The9CatCopilot
andauthored
Update expui/BiorthBasis.cc
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7025a62 commit 028149c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

expui/BiorthBasis.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4917,8 +4917,8 @@ namespace BasisClasses
49174917
// Check for version string
49184918
std::string path = "CovarianceFileVersion";
49194919

4920-
// Check for valid HDF file
4921-
if (file.exist(path)) {
4920+
// Check for valid HDF file by attribute
4921+
if (file.hasAttribute(path)) {
49224922
extendCoefCovariance(fname, time);
49234923
return;
49244924
}

0 commit comments

Comments
 (0)