intvert.InversionError

exception InversionError(msg, beta2, precision, epsilon)

Python-exception-derived object raised by inversion functions.

This exception is raised by invert_1D and invert_2D when the they fail to solve any subproblem to within the given tolerance. Contains current values of relevant parameters at the time of error.

Parameters:
  • msg (str) – The error message.

  • beta2 (float) – The value of the lattice parameter beta2.

  • precision (int) – The number of bits of precision in the current gmpy2 context.

  • epsilon (float) – The value of the tolerance parameter epsilon.