chipmunk-project / chipmunk-tofino

12 stars 2 forks source link

Add assert for opcode value in sketch. #14

Open taegyunkim opened 5 years ago

taegyunkim commented 5 years ago

Add an assert to the original sketch program so that the opcode value can't equal to or greater than the number of options available, instead of manually checking when using the opcode value.