Skip to content

[Newton] Make setParameters() accept a constant ParameterTree.

Jö Fahlke requested to merge fix/const-parameter-tree-in-newton into master

Newton has no business modifying the ParameterTree object it receives, and in fact, it does not modify it. There is also no reason given in the comments why the parameter needs to be non-constant. So make it constant.

I plan to merge 2017-01-09.

Merge request reports

Loading