Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Incorrectly handles stderr outputs that aren't errors from libng…
…spice version 43 **Fixes PySpice-org#379** This pull request addresses an issue where PySpice incorrectly handles certain stderr outputs from libngspice version 43, specifically messages like "Using SPARSE 1.3 as Direct Linear Solver". These messages, while appearing on stderr, are informational and not indicative of errors. **Changes:** - Modified the `_send_char` callback in `Spice/NgSpice/Shared.py` to specifically handle messages starting with "Using". - These messages are now treated as debug output instead of errors, preventing the `self._error_in_stderr` flag from being set and avoiding the `NgSpiceCommandError`.
- Loading branch information