Skip to content

Commit

Permalink
Reference experiment where needed, not simulation
Browse files Browse the repository at this point in the history
This appears to be the correct fix for libqueso#533; thanks to @briadam for
tracking it down.

This *doesn't* appear to change our regression results, however, which
is a bit worrying...
  • Loading branch information
roystgnr committed Apr 11, 2017
1 parent 31677d2 commit fea49d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gp/src/GPMSA.C
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ GPMSAEmulator<V, M>::lnValue(const V & domainVector,
// If we're in the experiment cross correlation part, need extra
// foo: Sigma_delta/Sigma_v and Sigma_y
if (i < this->m_numExperiments && j < this->m_numExperiments) {
typename SharedPtr<V>::Type cross_scenario1 = (this->m_simulationScenarios)[i];
typename SharedPtr<V>::Type cross_scenario2 = (this->m_simulationScenarios)[j];
typename SharedPtr<V>::Type cross_scenario1 = (this->m_experimentScenarios)[i];
typename SharedPtr<V>::Type cross_scenario2 = (this->m_experimentScenarios)[j];
prodDiscrepancy = 1.0;
unsigned int discrepancyCorrStrStart =
dimParameter + num_svd_terms + dimParameter + dimScenario + 1 +
Expand Down

0 comments on commit fea49d2

Please sign in to comment.