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

One more name changing

parent 9eaf66d3
Pipeline #24365 passed with stage
in 6 minutes and 24 seconds
from .operator_tests import adjointness_implementation, inverse_implementation
from .operator_tests import adjoint_implementation, inverse_implementation
......@@ -2,10 +2,10 @@ import numpy as np
from ..field import Field
__all__ = ['adjointness_implementation', 'inverse_implemenation']
__all__ = ['adjoint_implementation', 'inverse_implemenation']
def adjointness_implementation(op, domain_dtype=np.float64, target_dtype=np.float64, atol=0, rtol=1e-7):
def adjoint_implementation(op, domain_dtype=np.float64, target_dtype=np.float64, atol=0, rtol=1e-7):
f1 = Field.from_random("normal", domain=op.domain, dtype=domain_dtype)
f2 = Field.from_random("normal", domain=op.target, dtype=target_dtype)
res1 = f1.vdot(op.adjoint_times(f2))
......
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