Skip to content

Commit

Permalink
Revert #121
Browse files Browse the repository at this point in the history
  • Loading branch information
ikeuchi-screen committed May 5, 2024
1 parent 0cccccd commit 6dde9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lingam/longitudinal_lingam.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def estimate_total_effect(self, X_t, from_t, from_index, to_t, to_index):
pos = self._p + self._p * tau
X_joined[:, pos : pos + self._p] = X_t[from_t - tau]

am = np.concatenate([*self._adjacency_matrices[to_t]], axis=1)
am = np.concatenate([*self._adjacency_matrices[from_t]], axis=1)

# from_index + parents indices
parents = np.where(np.abs(am[from_index]) > 0)[0]
Expand Down

0 comments on commit 6dde9ca

Please sign in to comment.