Skip to content

Commit 66cd41b

Browse files
committed
minor update
changing minor notational inconvenience.
1 parent 53701a6 commit 66cd41b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def nu(self, k, k_, j, j_, UEs, L, r, antSpacing, t):
344344
rel_spin = np.abs(r[j] - r[j_])
345345
g_k_kl1, _ = self.channelAndPrecoder(UEs[k_], UEs[k], antSpacing, L[0], t, "u2u")
346346
g_k_kl2, _ = self.channelAndPrecoder(UEs[k_], UEs[k], antSpacing, L[1], t, "u2u")
347-
return rel_spin * (r[j_] * g_k_kl1 + (1 - r[j_]) * g_k_kl2)
347+
return rel_spin * ((1 - r[j_]) * g_k_kl1 + r[j_] * g_k_kl2)
348348

349349
def objective(self, r, chi_dl, chi_ul, xi_dl, xi_ul, z_dl, z_ul, time, sigma, satellites, UEs, L, antSpacing):
350350
coeffs = self.objective_coefficients(

0 commit comments

Comments
 (0)