ElectricalAge icon indicating copy to clipboard operation
ElectricalAge copied to clipboard

[Serious] Setting Cable Resistance Factor to 0

Open OmegaHaxors opened this issue 6 years ago • 1 comments

It's possible to set the Cable Resistance Factor to 0, and doing so causes singular networks (those with no resistance but a source and a sink) to produce NaN networks.

Simple fix is to make Ground cables exempt from the config so that Singular Matrices are no longer possible, since all other power sources and sinks have at least a tiny bit of resistance.

EDIT: I was wrong. Machines can also cause NaN errors. It's probably due to the config also changing resistance values on non-cable blocks. This is really not acceptable, and should be sorted out quickly.

OmegaHaxors avatar Sep 11 '18 16:09 OmegaHaxors

A better fix is to make it impossible to set resistance to 0.

Baughn avatar Oct 24 '18 15:10 Baughn