Fixes typo when assigning weights from object args
Merge pull request #12 from pselden4/patch-1

Fixes typo when assigning weights from object args