Skip to content

Handling destruction of empty Solver objects - #5595

Open
Johnqczhang wants to merge 3 commits into
BVLC:masterfrom
Johnqczhang:mattest
Open

Handling destruction of empty Solver objects#5595
Johnqczhang wants to merge 3 commits into
BVLC:masterfrom
Johnqczhang:mattest

Conversation

@Johnqczhang

Copy link
Copy Markdown

When running 'make mattest', I found a similar issue with #5346 solved by #5588 that causes an empty solver to be deleted. This PR checks if the caffe solver pointer is defined before calling the delete_solver function in caffe_.cpp.

@Noiredd Noiredd mentioned this pull request Jun 21, 2017
4 tasks
@Noiredd Noiredd added the Matlab label Nov 2, 2017
@Noiredd

Noiredd commented Nov 2, 2017

Copy link
Copy Markdown
Member

I restarted the tests (after #5973), this looks good now. Any comment from someone more experienced with MATLAB interface?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants