torchdyn icon indicating copy to clipboard operation
torchdyn copied to clipboard

Code Improvements

Open varunagrawal opened this issue 1 year ago • 0 comments

  • Fix docstrings for atol and rtol.
  • Use isinstance instead of type(x) == t.
  • Reorder code to reduce warnings.

Additionally, should we remove the warning about fixed step methods not being affected by tolerance values? We can instead put that in the docstring and not pollute the user output space.

varunagrawal avatar Nov 09 '24 23:11 varunagrawal