Skip to content

Commit

Permalink
dotproduct.py output corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoribeiro-2020 committed Jul 19, 2022
1 parent 289c8f8 commit 8d64260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/dotproduct.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ def _generate_pre_connection_args(
dp = np.abs(dpc)

# Save dot products to file
with open("dpc_pool.npy", "wb") as fich:
with open("dpc.npy", "wb") as fich:
np.save(fich, dpc)
print(" Dot products saved to file dpc_pool.npy")
print(" Dot products saved to file dpc.npy")

# Save dot products modulus to file
with open("dp_pool.npy", "wb") as fich:
with open("dp.npy", "wb") as fich:
np.save(fich, dp)
print(" Dot products modulus saved to file dp_pool.npy")
print(" Dot products modulus saved to file dp.npy")

###################################################################################
# Finished
Expand Down

0 comments on commit 8d64260

Please sign in to comment.