-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When calling `.nodes <file>` there were a few unnecessary error cases: 1. If there were no TSP-Link nodes to initialize, an error would be added to the errorqueue - This was fixed by using `tsplink.reset(1)` and `tsplink.initialize(0)` instead of the no-parameter overloads 2. If the given file didn't exist, an error was thrown even though we can create it. - This was fixed by removing the check for file existence. This PR also includes an incidental fix for a clippy warning. We were calling `enumerate` unnecessarily.
- Loading branch information
Showing
4 changed files
with
41 additions
and
21 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
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