flatironinstitute / nomad

Non-linear Matrix Decomposition library
Apache License 2.0
11 stars 1 forks source link

[BUG] Elapsed iterations are incremented before algorithm step #14

Closed sfohr closed 8 months ago

sfohr commented 9 months ago

Describe the bug In the decompose function, the elapsed iteration counter is incremented before the actual algorithm step is performed.

To Reproduce Steps to reproduce the behavior:

  1. Debug function decompose with proper input data
  2. Check order of method calls

Expected behavior First, one step of the algorithm should be performed and afterwards the elapsed iterations counter should be incremented.