Skip to content

Commit ef6517b

Browse files
committed
Typo in specular_compo
1 parent aab0f22 commit ef6517b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commpy/channels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def specular_compo(self, thetat, dt, thetar, dr):
449449
H = zeros((self.nb_rx, self.nb_tx), dtype=complex)
450450
for n in range(self.nb_rx):
451451
for m in range(self.nb_tx):
452-
H[n, m] = exp(1j * 2 * pi * (n * dr * cos(thetar) - m * dt * cos(thetat)))
452+
H[n, m] = exp(1j * 2 * pi * (n * dr * cos(thetar) + m * dt * cos(thetat)))
453453
return H
454454

455455
@property

0 commit comments

Comments
 (0)