Skip to content

Commit

Permalink
Minor improvement in unique
Browse files Browse the repository at this point in the history
  • Loading branch information
mgraffg committed Apr 11, 2024
1 parent 1631f30 commit 61b63f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EvoMSA/__init__.py
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '2.0.8'
__version__ = '2.0.9'

try:
from EvoMSA.text_repr import BoW, TextRepresentations, StackGeneralization, DenseBoW
Expand Down
2 changes: 1 addition & 1 deletion EvoMSA/unique.py
Expand Up @@ -82,7 +82,7 @@ def unique_rest(frst, rest):
transform = BoW(**bow_params).transform
X = transform(D)
init = 0
pool = np.arange(len(D))
pool = np.arange(X.shape[0])
with tqdm(total=pool.shape[0]) as _tqdm:
while init < pool.shape[0]:
past = pool[:init]
Expand Down

0 comments on commit 61b63f4

Please sign in to comment.