diff --git a/nada_dsl/nada_types/collections.py b/nada_dsl/nada_types/collections.py index 06d67b3..1a32016 100644 --- a/nada_dsl/nada_types/collections.py +++ b/nada_dsl/nada_types/collections.py @@ -531,7 +531,6 @@ def inner_product(self: "Array[T]", other: "Array[T]") -> T: if is_primitive_integer(self.contained_type) and is_primitive_integer( other.contained_type ): - return self.contained_type.instantiate( InnerProduct(left=self, right=other, source_ref=SourceRef.back_frame()) ) # type: ignore diff --git a/test-programs/ntuple_accessor.py b/test-programs/ntuple_accessor.py index a5e9e2a..08640b2 100644 --- a/test-programs/ntuple_accessor.py +++ b/test-programs/ntuple_accessor.py @@ -26,5 +26,6 @@ def add(acc: PublicInteger, a: PublicInteger) -> PublicInteger: return [Output(final, "my_output", party1)] + if __name__ == "__main__": - nada_main() \ No newline at end of file + nada_main() diff --git a/test-programs/object_accessor.py b/test-programs/object_accessor.py index 0f5679f..8c006b5 100644 --- a/test-programs/object_accessor.py +++ b/test-programs/object_accessor.py @@ -15,7 +15,6 @@ def nada_main(): array = object.b scalar_2 = object.c - def add(acc: PublicInteger, a: PublicInteger) -> PublicInteger: return acc + a