Fix to code, relaxed numerical tolerance in one test.