We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import VectorInterface
1 parent 4cf9cfe commit f837fb1Copy full SHA for f837fb1
1 file changed
src/environments/bp_environments.jl
@@ -1,5 +1,5 @@
1
struct BPEnv{T}
2
- "4 x rows x cols array of message tensors, where the first dimension specifies the spactial direction"
+ "4 x rows x cols array of message tensors, where the first dimension specifies the spatial direction"
3
messages::Array{T,3}
4
end
5
@@ -71,8 +71,6 @@ end
71
# VectorInterface
72
# ---------------
73
74
-import VectorInterface as VI
75
-
76
VI.scalartype(::Type{BPEnv{T}}) where {T} = scalartype(T)
77
78
VI.zerovector(env::BPEnv, ::Type{S}) where {S<:Number} = BPEnv(zerovector.(env.messages, S))
0 commit comments