Merge pull request #1273 from sba1/example-diff-fix Don't clear the opt instance in the diff example.