-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug that could lead to duplicate params (#783)
When a net's module references another of that net's modules, the former will yield the latter's parameters. Therefore, when all parameters are collected, the latter's parameters appear twice. This bugfix consists of remembering all yielded parameters in a set and not yielding those that were already encountered. This bug was introduced very recently (751) and should occur very rarely, since modules don't typically reference each other.
- Loading branch information
1 parent
1165a78
commit 906932c
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters