jtextor / dagitty

Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
286 stars 46 forks source link

Inserting a variable with name "map" causes RangeError: Maximum call stack size exceeded #46

Closed AndrewC19 closed 2 years ago

AndrewC19 commented 3 years ago

Replication:

broken_graph <- dagitty("dag {
                                X -> Y
                                Y -> Z
                                map -> X
                                map -> Y
                        }")
print(impliedConditionalIndependencies(broken_graph))
jtextor commented 2 years ago

Thanks for reporting. Fixed in latest commit