schubmult 1.2.2__tar.gz → 1.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {schubmult-1.2.2 → schubmult-1.2.3}/PKG-INFO +1 -1
  2. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_yz/schubmult_yz.py +5 -4
  3. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/PKG-INFO +1 -1
  4. {schubmult-1.2.2 → schubmult-1.2.3}/setup.py +1 -1
  5. {schubmult-1.2.2 → schubmult-1.2.3}/LICENSE +0 -0
  6. {schubmult-1.2.2 → schubmult-1.2.3}/README.md +0 -0
  7. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/__init__.py +0 -0
  8. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/perm_lib.py +0 -0
  9. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_double/__init__.py +0 -0
  10. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_double/__main__.py +0 -0
  11. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_double/schubmult_double.py +0 -0
  12. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_py/__init__.py +0 -0
  13. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_py/__main__.py +0 -0
  14. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_py/schubmult_py.py +0 -0
  15. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_py/schubmult_py_bak.py +0 -0
  16. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_py/schubmult_py_parallel.py +0 -0
  17. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_yz/__init__.py +0 -0
  18. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult/schubmult_yz/__main__.py +0 -0
  19. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/SOURCES.txt +0 -0
  20. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/dependency_links.txt +0 -0
  21. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/entry_points.txt +0 -0
  22. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/requires.txt +0 -0
  23. {schubmult-1.2.2 → schubmult-1.2.3}/schubmult.egg-info/top_level.txt +0 -0
  24. {schubmult-1.2.2 → schubmult-1.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: schubmult
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Computing Littlewood-Richardson coefficients of Schubert polynomials
5
5
  Home-page: https://github.com/matthematics/schubmult
6
6
  Author: Matt Samuel
@@ -171,12 +171,11 @@ def poly_to_vec(poly,vec0=None):
171
171
  cf = dc[mn]
172
172
  if cf == 0:
173
173
  continue
174
- cf = abs(cf)
175
174
  try:
176
175
  index = monom_to_vec[mn]
177
176
  except KeyError:
178
177
  return None
179
- if vec0 is not None and vec0[index]<cf:
178
+ if vec0 is not None and abs(vec0[index])<abs(cf):
180
179
  return None
181
180
  vec[index] = cf
182
181
  return vec
@@ -1002,8 +1001,10 @@ def main():
1002
1001
  if display_positive:
1003
1002
  if expand(val) != 0:
1004
1003
  val2 = compute_positive_rep(val,var2neg,var3neg,msg)
1005
- if val2 is not None:
1006
- val = val2
1004
+ if expand(val - val2) != 0:
1005
+ print(f"error; write to schubmult@gmail.com with the case {perms=} {firstperm=} {secondperm=} {val2=} {val=}")
1006
+ exit(1)
1007
+ val = val2
1007
1008
  else:
1008
1009
  val = 0
1009
1010
  if val != 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: schubmult
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Computing Littlewood-Richardson coefficients of Schubert polynomials
5
5
  Home-page: https://github.com/matthematics/schubmult
6
6
  Author: Matt Samuel
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text()
6
6
 
7
7
  setup(
8
8
  name="schubmult",
9
- version="1.2.2",
9
+ version="1.2.3",
10
10
  description="Computing Littlewood-Richardson coefficients of Schubert polynomials",
11
11
  long_description=long_description,
12
12
  long_description_content_type='text/markdown',
File without changes
File without changes
File without changes