pygeoinf 1.1.6__tar.gz → 1.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pygeoinf
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Summary: A package for solving geophysical inference and inverse problems
5
5
  License: BSD-3-Clause
6
6
  Author: David Al-Attar and Dan Heathcote
@@ -223,6 +223,8 @@ class HilbertSpace(ABC):
223
223
  # Final (Non-Overridable) Methods #
224
224
  # ------------------------------------------------------------------- #
225
225
 
226
+
227
+
226
228
  @final
227
229
  @property
228
230
  def coordinate_inclusion(self) -> LinearOperator:
@@ -172,7 +172,12 @@ class IterativeLinearSolver(LinearSolver):
172
172
  """
173
173
  Solves the adjoint linear system A*y = x for y.
174
174
  """
175
- return self.solve_linear_system(operator.adjoint, preconditioner.adjoint, x, y0)
175
+ adjoint_preconditioner = (
176
+ None
177
+ if preconditioner is None
178
+ else preconditioner.adjoint
179
+ )
180
+ return self.solve_linear_system(operator.adjoint, adjoint_preconditioner, x, y0)
176
181
 
177
182
  def __call__(
178
183
  self,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pygeoinf"
3
- version = "1.1.6"
3
+ version = "1.1.7"
4
4
  description = "A package for solving geophysical inference and inverse problems"
5
5
  authors = ["David Al-Attar and Dan Heathcote"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes