Fixes ValueError: not enough values to unpack (expected 2, got 1)
Fix missing values in prior loss variable assignments
The detailed description explains that the prior_loss variable was not assigned properly in certain conditions, resulting in missing values. This commit fixes the code to correctly assign the prior_loss variable when needed.
Issue ticket number and link (if applicable)
Checklist before requesting a review
[ ] This is based on the /dev branch (Or a fork of it)
[ ] This was created or at least validated using a proper IDE
[ ] I have tested this code and validated any modified functions
[ ] I have added the appropriate documentation and hint strings if adding or changing a user-facing feature
Describe your changes
Fixes
ValueError: not enough values to unpack (expected 2, got 1)
Fix missing values in prior loss variable assignments
The detailed description explains that the prior_loss variable was not assigned properly in certain conditions, resulting in missing values. This commit fixes the code to correctly assign the prior_loss variable when needed.
Issue ticket number and link (if applicable)
Checklist before requesting a review