Closed jokva closed 3 years ago
The intention was always for f.trace[i,j] to return a single sample when i and j were both integers:
assert f.trace[0, 1] == f.trace[0][1]
However, this evaluated to true when [i, j] returns an array, since the result of the comparison is array([True]), and which is not falsy.
Reported in https://github.com/equinor/segyio/issues/475
The intention was always for f.trace[i,j] to return a single sample when i and j were both integers:
However, this evaluated to true when [i, j] returns an array, since the result of the comparison is array([True]), and which is not falsy.
Reported in https://github.com/equinor/segyio/issues/475