You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error in the magic squares code in section 13.2 for both the LIA and BV code.
The main diagonal constraint is not correctly checked, and the other diagonal constraint has been duplicated.
Finding this error and correcting it is a good exercise while following the tutorial (at least I found it useful) so maybe you want to keep it but at least alert students to its existence.
The text was updated successfully, but these errors were encountered:
There is an error in the magic squares code in section 13.2 for both the LIA and BV code.
The main diagonal constraint is not correctly checked, and the other diagonal constraint has been duplicated.
The corrected LIA code is below.
Finding this error and correcting it is a good exercise while following the tutorial (at least I found it useful) so maybe you want to keep it but at least alert students to its existence.
The text was updated successfully, but these errors were encountered: