Skip to content

Commit 6d70c88

Browse files
committed
Minor change
1 parent 0c6bf3e commit 6d70c88

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/parametricbuilder/groupspec.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090

9191
# Expand spacing spec and clamp out overlapping choices, based on radius
9292
function _get_valid_spacings(g::PositionGroupSpec, rout)
93-
min_spacing = 2 * to_nominal(rout)
93+
min_spacing = to_nominal(rout)
9494

9595
# Full grid of values × pct → Measurement or plain Real
9696
raw = collect(_make_range(g.d[1]; pct = g.d[2]))

src/uq/UQ.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ using LinearAlgebra
3636
# - Given [lo, hi], interpret as ±1σ around μ = (lo+hi)/2, σ = (hi-lo)/2.
3737
lo_f = float(lo)
3838
hi_f = float(hi)
39-
@assert hi_f > lo_f "hi must be greater than lo"
39+
@assert hi_f >= lo_f "hi must be greater than lo"
4040
μ = (lo_f + hi_f) / 2
4141
σ = (hi_f - lo_f) / 2
4242

0 commit comments

Comments
 (0)