Skip to content

Commit f0f146a

Browse files
committed
Fixed typos
1 parent 10958cf commit f0f146a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/prom/mixed_nonlinear_diffusion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ void MergeBasis(const int dimFOM, const int nparam, const int max_num_snapshots,
448448
generator.endSamples(); // save the merged basis file
449449

450450
int cutoff = 0;
451-
generator.finalSummary(1e-4, cutoff, "mergedSV_" + name,0,squaredSV);
451+
generator.finalSummary(1e-4, cutoff, "mergedSV_" + name,0,squareSV);
452452
}
453453

454454
// TODO: move this to the library?
@@ -512,7 +512,7 @@ int main(int argc, char *argv[])
512512
bool use_eqp = false;
513513
bool writeSampleMesh = false;
514514
int num_samples_req = -1;
515-
bool squareSV;
515+
bool squareSV = true;
516516

517517
bool pointwiseSnapshots = false;
518518
int pwx = 0;

examples/prom/nonlinear_elasticity_global_rom.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void MergeBasis(const int dimFOM, const int nparam, const int max_num_snapshots,
328328
generator.endSamples(); // save the merged basis file
329329

330330
int cutoff = 0;
331-
generator.finalSummary(1e-7, cutoff, "mergedSV_" + name + ".txt",0,squaredSV);
331+
generator.finalSummary(1e-7, cutoff, "mergedSV_" + name + ".txt",0,squareSV);
332332
}
333333

334334
const CAROM::Matrix *GetSnapshotMatrix(const int dimFOM, const int nparam,
@@ -416,7 +416,7 @@ int main(int argc, char *argv[])
416416
bool x_base_only = false;
417417
int num_samples_req = -1;
418418
const char *samplingType = "gnat";
419-
bool squareSV;
419+
bool squareSV = true;
420420

421421
int nsets = 0;
422422
int id_param = 0;

0 commit comments

Comments
 (0)