franciscoadasme / mm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relax type restriction on ParameterSet#<<

maurobedoya opened this issue · comments

The type restriction on the method ParameterSet#<<(Array(DihedralType)) should be changed to Enumerable(DihedralType), otherwise Array::View(DihedralType) (returned by ParameterSet#dihedrals) doesn't work. This will require to transform the argument to an array via #to_a before adding it to the internal array of dihedrals.