fatiando / harmonica

Forward modeling, inversion, and processing gravity and magnetic data
https://www.fatiando.org/harmonica
BSD 3-Clause "New" or "Revised" License
211 stars 69 forks source link

Avoid checking floats in tesseroid doctests #326

Closed santisoler closed 2 years ago

santisoler commented 2 years ago

Description

Remove expected results for tesseroid calculations in docstring examples. Printing floats in forward modelling examples isn't that meaningful and often creates failures when running doctests: small differences between the expected and the got value could occur under some dependency and OS combinations.