Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-delay
Commits
d494d3fd
Commit
d494d3fd
authored
Nov 09, 2018
by
hannahhoward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
325e08ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
generator.go
generator.go
+2
-4
No files found.
generator.go
View file @
d494d3fd
...
...
@@ -18,11 +18,10 @@ func VariableNormalGenerator(std time.Duration, rng *rand.Rand) Generator {
rng
=
sharedRNG
}
v
:=
&
variableNormal
{
return
&
variableNormal
{
std
:
std
,
rng
:
rng
,
}
return
v
}
type
variableNormal
struct
{
...
...
@@ -40,11 +39,10 @@ func VariableUniformGenerator(d time.Duration, rng *rand.Rand) Generator {
rng
=
sharedRNG
}
v
:=
&
variableUniform
{
return
&
variableUniform
{
d
:
d
,
rng
:
rng
,
}
return
v
}
type
variableUniform
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment