File tree 2 files changed +7
-1
lines changed 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ function _compose(icn::ICN)
133
133
134
134
if exclu (layer)
135
135
f_id = as_int (@view weights (icn)[_start: _end])
136
+ # @warn "debug" f_id _end _start weights(icn) (exclu(layer) ? "nbits_exclu(layer)" : "length(layer)") (@view weights(icn)[_start:_end])
136
137
s = symbol (layer, f_id + 1 )
137
138
push! (funcs, [functions (layer)[s]])
138
139
push! (symbols, [s])
Original file line number Diff line number Diff line change @@ -30,7 +30,12 @@ exclu(layer) = layer.exclusive
30
30
symbol(layer, i)
31
31
Return the i-th symbols of the operations in a given layer.
32
32
"""
33
- symbol (layer, i) = collect (keys (functions (layer)))[i]
33
+ symbol (layer, i) = begin
34
+ if i > length (layer)
35
+ @info layer i functions (layer)
36
+ end
37
+ collect (keys (functions (layer)))[i]
38
+ end
34
39
35
40
"""
36
41
nbits_exclu(layer)
You can’t perform that action at this time.
0 commit comments