nickgillian / grt

gesture recognition toolkit
853 stars 286 forks source link

Add enum guard to SVMType and KernelType #127

Closed jamiebullock closed 7 years ago

jamiebullock commented 7 years ago

This is consistent with other classes in GRT that have enum guards for "types" and helps wrapper code to verify types are in range, e.g. when casting from int to the respective enum type.