Don't fail on NaNs in modeldata + fix accidential return by value
Created by: aroffringa
This hopefully fixes #65 (closed). It also makes my test solve ~30% faster because one of the data vectors was accidentially returned by value instead of ref.
Created by: aroffringa
This hopefully fixes #65 (closed). It also makes my test solve ~30% faster because one of the data vectors was accidentially returned by value instead of ref.