Skip to content

Commit 97a4585

Browse files
committed
Fix typo
1 parent a847f15 commit 97a4585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/indexnotation/optimaltree.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ function computecost(allcosts, ind1::BitSet, ind2::BitSet)
9090
end
9191

9292
function computemaxcost(allcosts, indexsets)
93-
if length(indexsets) == 1
94-
maxcost = one(etltype(allcosts))
93+
if length(indexsets) 1
94+
maxcost = one(eltype(allcosts))
9595
else
9696
maxcost = zero(eltype(allcosts))
9797
s1 = indexsets[1]

0 commit comments

Comments
 (0)