sbrisard / janus

Discretization of the Lippmann--Schwinger equation with periodic boundary conditions
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Discrete Green operators with no FFT object #6

Open sbrisard opened 9 years ago

sbrisard commented 9 years ago

It is possible to create DiscreteGreenOperators with transform=None. This can potentially lead to crashes if apply() is called. A test


if self.transform is not None:

should be inserted.