Skip to content

Commit 318fcc2

Browse files
committed
fix tests
1 parent e2dbf18 commit 318fcc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ function plain_matrix(x::ConfigEnumerator{N,S,C}) where {N,S,C}
115115
return m
116116
end
117117

118-
function from_raw_matrix(m; len, nflavors=2)
118+
function from_raw_matrix(m; bitlength, nflavors=2)
119119
S = ceil(Int,log2(nflavors))
120120
C = size(m, 1)
121-
T = StaticElementVector{len,S,C}
122-
@assert len*S <= C*64
121+
T = StaticElementVector{bitlength,S,C}
122+
@assert bitlength*S <= C*64
123123
_from_raw_matrix(T, m)
124124
end
125125
function _from_raw_matrix(::Type{StaticElementVector{N,S,C}}, m::AbstractMatrix) where {N,S,C}

0 commit comments

Comments
 (0)