Skip to content

Commit

Permalink
Removed a 'transpose' call that does nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanro committed Feb 11, 2021
1 parent f86b7bc commit a633bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dft.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@
"Z = 1\n",
"sigma1 = 0.25\n",
"\n",
"g1 = Z * Gaussian(dr.transpose(), sigma1)\n",
"g1 = Z * Gaussian(dr, sigma1)\n",
"g1 = np.reshape(g1, (g1.size, 1))\n",
"n = cI(cJ(g1) * Sf)\n",
"n = np.real(n)"
Expand Down
2 changes: 1 addition & 1 deletion dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def getPsi(W):
Z = 1
sigma1 = 0.25

g1 = Z * Gaussian(dr.transpose(), sigma1)
g1 = Z * Gaussian(dr, sigma1)
g1 = np.reshape(g1, (g1.size, 1))
n = cI(cJ(g1) * Sf)
n = np.real(n)
Expand Down

0 comments on commit a633bda

Please sign in to comment.