Remove bitwise operator and assignment operator
Merge pull request #1373 from ke-yu/fix_magn2485

Remove bitwise operators and assignment operator