What are the issues this pull addresses (issue numbers / links)?
This fixes a newly discovered bug which happens when there's no node to remove in the caculation of reduced capacitance and inductance matrix. In this case, S_k should just be the identity matrix.
Did you add tests to cover your changes (yes/no)?
Did you update the documentation accordingly (yes/no)?
What are the issues this pull addresses (issue numbers / links)?
This fixes a newly discovered bug which happens when there's no node to remove in the caculation of reduced capacitance and inductance matrix. In this case, S_k should just be the identity matrix.
Did you add tests to cover your changes (yes/no)?
Did you update the documentation accordingly (yes/no)?
Did you read the CONTRIBUTING document (yes/no)?
yes
Summary
Details and comments