kredel / java-algebra-system

Java Algebra System (JAS) Project
GNU General Public License v2.0
44 stars 9 forks source link

Should hash attribute now be initialized with -1? #30

Closed axkr closed 1 year ago

axkr commented 2 years ago

Should the ExpVector hash attribute now be initialized with -1? https://github.com/kredel/java-algebra-system/blob/cc49aeb2625d1eea533edef79f851362193977f1/src/edu/jas/poly/ExpVectorLong.java#L175

kredel commented 2 years ago

Yes, thanks for noting this. Also the other ExpVector implementations have this bug. If tests are okay it will be corrected with the next release.

kredel commented 1 year ago

Fixed in latest release.