Closed wukefe closed 8 years ago
Recently, I have upgraded MATLAB on my laptop from v2009a to v2015b. I found the bitcmp has been changed in the new version. So far, nqueens has been affected. I will fix the problem after Erick's work is done. Please find details below.
bitcmp
nqueens
bitcmp: bit-wise complement (see http://www.mathworks.com/help/matlab/ref/bitcmp.html)
The second parameter of bitcmp has been changed to an integer type name (see type name list ).
Old:
» bitcmp(12,8) ans = 243
New:
» bitcmp(12,'uint8') ans = 243
Note: the old code will run into an error in the new MATLAB.
Fixed
Recently, I have upgraded MATLAB on my laptop from v2009a to v2015b. I found the
bitcmp
has been changed in the new version. So far,nqueens
has been affected. I will fix the problem after Erick's work is done. Please find details below.bitcmp: bit-wise complement (see http://www.mathworks.com/help/matlab/ref/bitcmp.html)
The second parameter of bitcmp has been changed to an integer type name (see type name list ).
Old:
New:
Note: the old code will run into an error in the new MATLAB.