CAP_project icon indicating copy to clipboard operation
CAP_project copied to clipboard

Broken if-statement

Open mohamed-barakat opened this issue 2 years ago • 2 comments

The condition in this if-statement

https://github.com/homalg-project/CAP_project/blob/039bfd462710bd481024c1b501ad9681e6160c09/CompilerForCAP/gap/InferDataTypes.gi#L645

should include and not data_type = "list_with_unknown_element_type".

mohamed-barakat avatar Aug 20 '23 13:08 mohamed-barakat

Did you give this a try? I don't expect this to work, i.e. I expect that things will simply break later on.

zickgraf avatar Aug 21 '23 06:08 zickgraf

No, I did not. This record access was caused by another error I had, so I stopped following it.

mohamed-barakat avatar Aug 21 '23 09:08 mohamed-barakat