Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default behavior of divmod() is different from MATLAB mod(), on which… (
#237) * Default behavior of divmod() is different from MATLAB mod(), on which the original logic was based. The prior logic threw a ZeroDivisionError if printitn == 0. Instead, this fix avoids this error by testing that printitn > 0. Tests added for various values of printitn. * Update tests/test_cp_als.py Co-authored-by: Nick <[email protected]> * Update tests/test_cp_als.py Co-authored-by: Nick <[email protected]> * Applying Nick's suggesetions to remove mark, change maxiters to save CPU cycles. Also removing output since nothing is actually checked. * Removes mark * Closes #235 --------- Co-authored-by: Jeremy Myers <[email protected]> Co-authored-by: Nick <[email protected]>
- Loading branch information