I found where the circuit is going dead when diodes are used, it's ElementSet::updateInfo, the condition is when std::isfinite() fails. =( Now the problem is figuring out why and what should be done about it. -- New president: Here we go again... Chemistry.com: A total rip-off. Powers are not rights.