LagrangeInterpolator has unnecessary copies

Issue #490 resolved
Prof Garth Wells created an issue

LagrangeInterpolator does not uses references for return types where appropriate, and as a result makes numerous necessary copies.

Comments (7)

  1. Chris Richardson

    Looks OK to me - has it been updated? There are still other things which could be better, such as the try/catch clauses, which I don't like.

  2. Mikael Mortensen

    @garth-wells, could you please be more specific? @chris_richardson, what would you prefer over the try/catch clauses?

  3. Chris Richardson

    @mikael_mortensen - Function::eval could return a value which would tell you if it was successful or not.

  4. Log in to comment