Skip to content

Commit

Permalink
chore: run ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmgr committed Nov 26, 2024
1 parent 3aff5ca commit b239c72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion nada_dsl/nada_types/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion test-programs/ntuple_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ def add(acc: PublicInteger, a: PublicInteger) -> PublicInteger:

return [Output(final, "my_output", party1)]


if __name__ == "__main__":
nada_main()
nada_main()
1 change: 0 additions & 1 deletion test-programs/object_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def nada_main():
array = object.b
scalar_2 = object.c


def add(acc: PublicInteger, a: PublicInteger) -> PublicInteger:
return acc + a

Expand Down

0 comments on commit b239c72

Please sign in to comment.