Skip to content

Commit

Permalink
get_xy should return bools
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Sep 6, 2020
1 parent b21b4fc commit db19e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSL/digital_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _get_xy(self, initial_state: bool, timestamps: np.ndarray):
x = np.repeat(timestamps, 3)
x = np.insert(x, 0, 0)
x[0] = 0
y = np.zeros(len(x))
y = np.array(len(x) * [False])

if self.logic_mode == "any":
y[0] = initial_state
Expand Down

0 comments on commit db19e11

Please sign in to comment.