From fab87e917e2a37bdf003e515c0274dfacc64cff2 Mon Sep 17 00:00:00 2001 From: piotte13 Date: Tue, 25 Sep 2018 14:56:30 -0400 Subject: [PATCH] init duplicate --- Sources/Bitset/Bitset.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Bitset/Bitset.swift b/Sources/Bitset/Bitset.swift index e9710c3..3a10497 100644 --- a/Sources/Bitset/Bitset.swift +++ b/Sources/Bitset/Bitset.swift @@ -39,7 +39,7 @@ public final class Bitset: Sequence, Equatable, CustomStringConvertible, // make a bitset containing the list of integers, all values must be non-negative // adding the value i to the bitset will cause the use of least (i+8)/8 bytes - public init(_ allints: Int...) { + public init(_ allints: [Int]) { var mymax = 0 for i in allints { mymax = mymax < i ? i : mymax } wordcount = (mymax+63)/64 + 1