Skip to content
Snippets Groups Projects
Commit e7d0bc07 authored by Bert Palm's avatar Bert Palm 🎇
Browse files

init fix

parent cc69c927
No related branches found
No related tags found
1 merge request!218Flags
......@@ -51,8 +51,10 @@ class Backtrack:
# of the bt parameter and serve as a fastpath for internal
# fast creation of a new BT, where no checks are needed.
if isinstance(bt, Backtrack):
bt = bt.bt
# keep this order, otherwise bt.mask
# will refer to pd.Dataframe.mask
mask = bt.mask
bt = bt.bt
elif bt is None and mask is None:
bt = pd.DataFrame()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment