#242932 by dww, revision 1.19.2.36 throws divide-by-zero and other errors when first generating a derivative