-
Notifications
You must be signed in to change notification settings - Fork 13
Buffer dtype Mismatch #8
Copy link
Copy link
Open
Description
In running the sample code, trigger_example.py, I receive the following error:
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree_learn.py", line 75, in fit
self.tree.fit(x, y, t)
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree\ctl_trigger\ctl_base_trigger.py", line 42, in fit
effect, trigger = tau_squared_trigger(y, t, self.min_size, self.quartile)
File "CTL\causal_tree\util_c.pyx", line 353, in CTL.causal_tree.util_c.tau_squared_trigger
File "CTL\causal_tree\util_c.pyx", line 402, in CTL.causal_tree.util_c.tau_squared_trigger
ValueError: Buffer dtype mismatch, expected 'long_t' but got 'long'
Searching online, it appears to be an issue with the conversion Causal Tree Learn is using from Python to C.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels