Skip to content

Commit db19e11

Browse files
committed
get_xy should return bools
1 parent b21b4fc commit db19e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PSL/digital_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _get_xy(self, initial_state: bool, timestamps: np.ndarray):
6666
x = np.repeat(timestamps, 3)
6767
x = np.insert(x, 0, 0)
6868
x[0] = 0
69-
y = np.zeros(len(x))
69+
y = np.array(len(x) * [False])
7070

7171
if self.logic_mode == "any":
7272
y[0] = initial_state

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy