Skip to content

Commit 24d6de4

Browse files
committed
fix docs
1 parent c364d40 commit 24d6de4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/networks/Satisfiability.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ Negation of a boolean variables of type [`BoolVar`](@ref).
6868
"""
6969
∨(vars...)
7070
71-
Logical or that applied on [`BoolVar`](@ref) and [`CNFClause`](@ref) and returns a [`CNFClause`].
71+
Logical `or` applied on [`BoolVar`](@ref) and [`CNFClause`](@ref).
72+
Returns a [`CNFClause`](@ref).
7273
"""
7374
(var::BoolVar{T}, vars::BoolVar{T}...) where T = CNFClause([var, vars...])
7475
(c::CNFClause{T}, var::BoolVar{T}) where T = CNFClause([c.vars..., var])
@@ -78,7 +79,8 @@ Logical or that applied on [`BoolVar`](@ref) and [`CNFClause`](@ref) and returns
7879
"""
7980
∧(vars...)
8081
81-
Logical and applied on [`CNFClause`](@ref) and [`CNF`](@ref) and returns a new [`CNF`].
82+
Logical `and` applied on [`CNFClause`](@ref) and [`CNF`](@ref).
83+
Returns a new [`CNF`](@ref).
8284
"""
8385
(c::CNFClause{T}, cs::CNFClause{T}...) where T = CNF([c, cs...])
8486
(c::CNFClause{T}, cs::CNF{T}) where T = CNF([c, cs.clauses...])
@@ -155,4 +157,4 @@ end
155157
function tensor_for_clause(c::CNFClause{T}, a, b) where T
156158
n = length(c.vars)
157159
map(ci->any(i->~c.vars[i].neg == ci[i], 1:n) ? b : a, Iterators.product([[0, 1] for i=1:n]...))
158-
end
160+
end

0 commit comments

Comments
 (0)