Skip to content
Snippets Groups Projects

Implement the copy constructor for DiscreteFunction

Merged Praetorius, Simon requested to merge issue/discretefunction_copy_constructor into master

This solves a bug in LocalFunction and GradientLocalFunction of DiscreteFunction. If copy constructed, the subTree member was a dangling pointer.

Maybe I have to add the copy-assignment operator as well. Or, better, a swap() method.

Edited by Praetorius, Simon

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading