Commit d6cbfa26 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fixup

parent edc99725
Pipeline #75305 failed with stages
in 3 minutes and 7 seconds
......@@ -11,7 +11,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2013-2019 Max-Planck-Society
# Copyright(C) 2013-2020 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
......@@ -35,7 +35,7 @@ class OuterProduct(LinearOperator):
self._domain = DomainTuple.make(domain)
self._field = field
self._target = DomainTuple.make(
tuple(sub_d for sub_d in field.domain._dom + domain._dom))
tuple(sub_d for sub_d in field.domain._dom + self._domain._dom))
self._capability = self.TIMES | self.ADJOINT_TIMES
def apply(self, x, mode):
......
......@@ -224,12 +224,12 @@ def testRegridding(args):
ift.extra.consistency_check(op)
@pmp('fdomain', [(ift.RGSpace((3, 5, 4)), ift.RGSpace((16,), distances=(7.,))),
ift.HPSpace(12)])
@pmp('fdomain', [(ift.RGSpace((2, 3, 2)), ift.RGSpace((4,), distances=(7.,))),
ift.HPSpace(3)])
@pmp('domain', [(ift.RGSpace(2), ift.GLSpace(10)),
ift.RGSpace((10, 12), distances=(0.1, 1.))])
ift.RGSpace((4, 3), distances=(0.1, 1.))])
def testOuter(fdomain, domain):
f = ift.from_random(fdomain, 'normal')
f = ift.from_random(ift.makeDomain(fdomain), 'normal')
op = ift.OuterProduct(domain, f)
ift.extra.consistency_check(op)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment