Skip to content

Commit f06cdb2

Browse files
authored
Merge pull request #178 from EXP-code/copilot/sub-pr-177
[WIP] Update sub sampling output based on review feedback
2 parents 43f4d72 + 0d46fd6 commit f06cdb2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

_codeql_detected_source_root

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.

expui/Covariance.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,11 @@ namespace BasisClasses
334334
file.getAttribute("CovarianceFileVersion").read(version);
335335
// Check for alpha version
336336
if (version == std::string("1.0")) {
337-
throw std::runtime_error("CovarianceReader: this is an early alpha test version. Please remake your files");
337+
throw std::runtime_error("SubsampleCovariance: this is an early alpha test version. Please remake your files");
338338
}
339339
// Test for current version
340340
if (version != std::string("1.1")) {
341-
throw std::runtime_error(std::string("CovarianceReader: unsupported file version, ") + version);
341+
throw std::runtime_error(std::string("SubsampleCovariance: unsupported file version, ") + version);
342342
}
343343

344344
// Read the basis identifier string
@@ -350,7 +350,7 @@ namespace BasisClasses
350350
file.getAttribute("FloatSize").read(sz);
351351
if (sz != 4 and sz != 8) {
352352
std::ostringstream sout;
353-
sout << "CovarianceReader: unsupported float size, " << sz;
353+
sout << "SubsampleCovariance: unsupported float size, " << sz;
354354
throw std::runtime_error(sout.str());
355355
}
356356

@@ -362,7 +362,7 @@ namespace BasisClasses
362362
// Currently implemented cylindrical types
363363
const std::set<std::string> cylinderType = {"Cylindrical"};
364364

365-
std::cout << "Covariance: reading basis type " << BasisID << std::endl;
365+
std::cout << "SubsampleCovariance: reading basis type " << BasisID << std::endl;
366366

367367
if (sphereType.find(BasisID) != sphereType.end()) {
368368
file.getAttribute("lmax").read(lmax);

0 commit comments

Comments
 (0)