Skip to content

Commit

Permalink
[REF] Remove iter conversion of data iterable (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoKM authored Oct 9, 2024
1 parent 8e47e57 commit 753303f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvlinops/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _loop_over_data(
Yields:
Mini-batches ``(X, y)``.
"""
data_iter = iter(self._data)
data_iter = self._data

if self._progressbar:
desc = f"{self.__class__.__name__}{'' if desc is None else f'.{desc}'}"
Expand Down

0 comments on commit 753303f

Please sign in to comment.