Skip to content

Commit c011a05

Browse files
authored
Update Project.toml to v1 (#399)
* Update Project.toml to v1 * robustify one test
1 parent 5410a11 commit c011a05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "CalibrateEmulateSample"
22
uuid = "95e48a1f-0bec-4818-9538-3db4340308e3"
3-
version = "0.7.0"
3+
version = "1.0.0"
44
authors = ["CLIMA contributors <clima-software@caltech.edu>"]
55

66
[deps]

test/MarkovChainMonteCarlo/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ end
404404
esjds = esjd(chain_s)
405405
@info "ESJD [SRFI,RW] = $esjds"
406406
# approx [0.0002, 0.26, 0.4]"
407-
@test all(isapprox.(esjd1, esjds, rtol = 0.5))
407+
@test all(isapprox.(esjd1, esjds, rtol = 0.75))
408408
@info "Posterior mean: $(posterior_mean_s)$(mle)"
409409
@test isapprox(posterior_mean_s, mle; atol = 2e-1)
410410

@@ -415,7 +415,7 @@ end
415415
esjd2 = esjd(chain_2)
416416
@info "ESJD (-with-svd)= $esjd2"
417417
# approx [0.00015, 0.26, 0.35]
418-
@test all(isapprox.(esjd1, esjd2, rtol = 0.5))
418+
@test all(isapprox.(esjd1, esjd2, rtol = 0.75))
419419
@test isapprox(posterior_mean_2, posterior_mean_1; atol = 0.1)
420420
@info "Posterior mean: $(posterior_mean_2)$(mle)"
421421

@@ -516,7 +516,7 @@ end
516516
@info "ESJD [SRFI,pCN] = $esjds"
517517
# approx [0.0002, 0.26, 0.4]"
518518
@info "Posterior mean: $(posterior_mean_s)$mle"
519-
@test all(isapprox.(esjd1, esjds, rtol = 0.5))
519+
@test all(isapprox.(esjd1, esjds, rtol = 0.75))
520520

521521
# now test SVD normalization
522522
_, posterior_mean_2, chain_2 = mcmc_test_template(prior, σ2_y, em_2; mcmc_params_pcn...)

0 commit comments

Comments
 (0)