Many thanks for sharing this very helpful toolbox!
A small bug is detected in "learn_struct_K2":
Line 78, "while ~done & (length(ps) <= max_fan_in)"
should be "while ~done & (length(ps) < max_fan_in)".
Could you please fix it in the future version? Thanks!
By the way, it may be better to change "&" into "&&" in this line.
Many thanks for sharing this very helpful toolbox!
A small bug is detected in "learn_struct_K2": Line 78, "while ~done & (length(ps) <= max_fan_in)" should be "while ~done & (length(ps) < max_fan_in)". Could you please fix it in the future version? Thanks!
By the way, it may be better to change "&" into "&&" in this line.
XQ Liu