Skip to content

Commit f837fb1

Browse files
committed
Remove repeated import VectorInterface
1 parent 4cf9cfe commit f837fb1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/environments/bp_environments.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
struct BPEnv{T}
2-
"4 x rows x cols array of message tensors, where the first dimension specifies the spactial direction"
2+
"4 x rows x cols array of message tensors, where the first dimension specifies the spatial direction"
33
messages::Array{T,3}
44
end
55

@@ -71,8 +71,6 @@ end
7171
# VectorInterface
7272
# ---------------
7373

74-
import VectorInterface as VI
75-
7674
VI.scalartype(::Type{BPEnv{T}}) where {T} = scalartype(T)
7775

7876
VI.zerovector(env::BPEnv, ::Type{S}) where {S<:Number} = BPEnv(zerovector.(env.messages, S))

0 commit comments

Comments
 (0)