mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-12-25 09:44:44 +00:00
more robust type cast in I/O functions
This commit is contained in:
@@ -187,7 +187,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
process<DSample>(outFileName, fileName, code);
|
||||
}
|
||||
catch (bad_cast &e)
|
||||
catch (Exceptions::Definition)
|
||||
{
|
||||
process<DMatSample>(outFileName, fileName, code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user