writing and comparing doubles with OutputTree and outputtreecompare
I stumbled upon a problem with the outputtreecompare
concerning doubles written by an OutputTree
. The OutputTree
uses ParameterTree::report
when writing out the data. The latter adds double quotes around the values (e.g. value = "0.05"
). outputtreecompare
uses fuzzy_compare_ini
to compare these values. The fuzzy compare first tries to convert the values to float
, which fails (due to the double quotes). I guess the easiest fix would be to strip the values of quotes in the fuzzy compare before trying the float conversion.