Update code generation
Update array.h
Merge branch 'yz_1217'