Closed JuHolland closed 2 years ago
Good catch!
Problem is here:
https://github.com/GeoStat-Framework/PyKrige/blob/4b2ce01d1fd4b769f640b912a69ed2b513d6e1e4/src/pykrige/lib/cok.pyx#L69
The not
is wrong.
And here, the condition check is even missing: https://github.com/GeoStat-Framework/PyKrige/blob/4b2ce01d1fd4b769f640b912a69ed2b513d6e1e4/src/pykrige/lib/cok.pyx#L163
Bug was introduced here: https://github.com/GeoStat-Framework/PyKrige/commit/ffbd472996a9c1da10e5d78423f848555338efaf
PR #256 should fix this.
Hello,
It seems that the
exact_values
boolean parameter is inverted when doing Ordinary Kriging with the backend = 'C'.When setting
exact_values = True
:Output:
And when setting
exact_values = False
: