Brain icon indicating copy to clipboard operation
Brain copied to clipboard

father[0] == root_set_detail[key][i][k]

Open vpanda opened this issue 10 months ago • 2 comments

Hello author, I have some questions about the code in Brain/Brain.py.

Firstly, on line 210, "if father[0] == root_set_detail[key][i][k]:", father[0] is a pure number, while root_set_detail[key][i][k] is a tuple. These two types cannot be equal. Should root_set_detail[key][i][k] be rewritten as root_set_detail[key][i][k][0]?

Another question is about line 216's break. Does this mean that if one item in father_set enters the else block, the subsequent items in father_set will be ignored? Thank you.

vpanda avatar Jun 11 '25 07:06 vpanda

Sorry for the late reply; I have been very busy these days. The issue you mentioned does exist, and the fix you suggested is correct. This problem has already been resolved in issue #2 , but I have not updated the repository yet. I will update the repository in the near future. Thank you for your interest in our work.

gaiusyu avatar Jun 13 '25 06:06 gaiusyu

OK. Thanks for your reply.

vpanda avatar Jun 16 '25 02:06 vpanda