State file value precision for the threshold filter
Dear maintainers, (@mwestphal)
Here is a simple VTU file: Threshold.vtu. It contains two lines associated with a cell data corresponding to their length. If you load this data set and apply a Threshold filter without changing any value, the data set stay the same. But now, if you save this in a state file (like Threshold.pvsm), quit and load this state, one of the two lines is missing.
The reason is the maximum value of the Threshold which is normally : 4.210691007669084 In the state file, it is saved as: 4.21069100766908. The last digit is dropped and so the real maximum value become greater than the saved one, thus omitting the larger line when loading the state.