convert to float because new-weight might be int and (eps= int float) does not work
Merge pull request #69 from snozawa/fix_eps_weight_check

Merged.