Skip to content

Commit b08dbee

Browse files
committed
Fix docstring
1 parent 1f82afb commit b08dbee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/layer.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ is_viable(layer::Layer, w) = exclu(layer) ? as_int(w) < length(layer) : any(w)
6060

6161
"""
6262
generate_inclusive_operations(predicate, bits)
63-
generate_exclusive_operation(max_op_number)
64-
Generates the operations (weigths) of a layer with inclusive/exclusive operations.
63+
Generates the operations (weigths) of a layer with inclusive operations.
6564
"""
6665
function generate_inclusive_operations(predicate, bits)
6766
ind = falses(bits)
@@ -72,6 +71,10 @@ function generate_inclusive_operations(predicate, bits)
7271
return ind
7372
end
7473

74+
"""
75+
generate_exclusive_operation(max_op_number)
76+
Generates the operations (weigths) of a layer with exclusive operations.
77+
"""
7578
function generate_exclusive_operation(max_op_number)
7679
op = rand(1:max_op_number)
7780
return as_bitvector(op, max_op_number)

0 commit comments

Comments
 (0)