Skip to content

Commit

Permalink
Emergent bugfix
Browse files Browse the repository at this point in the history
Fixed a bug where et_sequence doesn't evaluate all the conditions
  • Loading branch information
FloraCanou committed Apr 18, 2024
1 parent 418bbd1 commit 464ffa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions te_equal.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2020-2023 Flora Canou | Version 1.4.0
# © 2020-2024 Flora Canou | Version 1.4.1
# This work is licensed under the GNU General Public License version 3.

import re, warnings
Expand Down Expand Up @@ -49,7 +49,7 @@ def et_sequence (monzos = None, subgroup = None, ntype = "breed", norm = te.Norm
with tqdm (total = search_range) as progress_bar:
search_flag = 1
while gpv[0] <= search_range:
if (not pv or __is_pv (gpv, just_tuning_map) # patent val or pv isn't set
if ((not pv or __is_pv (gpv, just_tuning_map)) # patent val or pv isn't set
and np.gcd.reduce (gpv) == 1 #not enfactored
and not np.any ([gpv] @ monzos)): #tempering out the commas
if cond == "error":
Expand Down

0 comments on commit 464ffa1

Please sign in to comment.