Skip to content

Alternative time vector comparison to avoid precision issues

Emmanuel Branlard requested to merge wtlib/pyconturb:f/time-comp into master

Hi @rink

Using the file attached would lead to an error stating that the time vectors are inconsistent. The differences between the vectors are of the order of 1e-13. I've changed the test to allclose, which needed a cast to float somehow.

Might fix #9 (closed).

A1_pyConTurb_tc.csv

Edited by Emmanuel Branlard

Merge request reports