Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborregaard committed Jan 7, 2019
1 parent b28b37e commit b7142de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Randomizations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function Random.rand!(r::MatrixGenerator{R, A}) where {R} where {A <: Assemblage
end

Random.rand(r::MatrixGenerator{<:ComMatrix}) where R = copy(rand!(r))
function Random.rand!(r::MatrixGenerator{C}) where {A <: ComMatrix}
function Random.rand!(r::MatrixGenerator{C}) where {C <: ComMatrix}
RandomBooleanMatrices._curveball!(r.m.occurrences)
r.m
end

0 comments on commit b7142de

Please sign in to comment.