Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support of other than linear machines in modelselectionoutput
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8e7d14c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lisitsyn afaik dynamic_cast<> will throw a bad_cast exception if it fails... shouldn't that be caught or at least indicated by the function to propagate that exception throw?
8e7d14c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't it return NULL? Will change it to some switch in that case.
8e7d14c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it returns NULL
8e7d14c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it returns NULL and throws and exception...
8e7d14c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably it throws nothing out cause actually it works ok