Merge PR #4365: Simulator bugfix for multisim 7601778
This commit is contained in:
parent
fd9f322b8c
commit
cef788042b
|
@ -0,0 +1 @@
|
||||||
|
#4362 simulation setup bugfix for multisim 7601778
|
|
@ -25,7 +25,7 @@ var (
|
||||||
3012, 4728, 37827, 981928, 87821, 891823782,
|
3012, 4728, 37827, 981928, 87821, 891823782,
|
||||||
989182, 89182391, 11, 22, 44, 77, 99, 2020,
|
989182, 89182391, 11, 22, 44, 77, 99, 2020,
|
||||||
3232, 123123, 124124, 582582, 18931893,
|
3232, 123123, 124124, 582582, 18931893,
|
||||||
29892989, 30123012, 47284728,
|
29892989, 30123012, 47284728, 7601778,
|
||||||
}
|
}
|
||||||
|
|
||||||
// goroutine-safe process map
|
// goroutine-safe process map
|
||||||
|
@ -36,7 +36,7 @@ var (
|
||||||
results chan bool
|
results chan bool
|
||||||
|
|
||||||
// command line arguments and options
|
// command line arguments and options
|
||||||
jobs int = runtime.GOMAXPROCS(0)
|
jobs = runtime.GOMAXPROCS(0)
|
||||||
blocks string
|
blocks string
|
||||||
period string
|
period string
|
||||||
testname string
|
testname string
|
||||||
|
|
|
@ -134,7 +134,7 @@ func RandomParams(r *rand.Rand) Params {
|
||||||
PastEvidenceFraction: r.Float64(),
|
PastEvidenceFraction: r.Float64(),
|
||||||
NumKeys: RandIntBetween(r, 2, 250),
|
NumKeys: RandIntBetween(r, 2, 250),
|
||||||
EvidenceFraction: r.Float64(),
|
EvidenceFraction: r.Float64(),
|
||||||
InitialLivenessWeightings: []int{r.Intn(80), r.Intn(10), r.Intn(10)},
|
InitialLivenessWeightings: []int{RandIntBetween(r, 1, 80), r.Intn(10), r.Intn(10)},
|
||||||
LivenessTransitionMatrix: defaultLivenessTransitionMatrix,
|
LivenessTransitionMatrix: defaultLivenessTransitionMatrix,
|
||||||
BlockSizeTransitionMatrix: defaultBlockSizeTransitionMatrix,
|
BlockSizeTransitionMatrix: defaultBlockSizeTransitionMatrix,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue