Skip to content

Commit

Permalink
Remove dynamic exception specifications to conform to ISO C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jul 7, 2022
1 parent db30cd9 commit 6dbf7f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions code/latte/ExponentialSubst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ mpq_vector
computeExponentialResidueWeights(const vec_ZZ &generic_vector,
mpz_class &prod_ray_scalar_products,
const listCone *cone, int numOfVars)
throw(NotGenericException)
{
// Compute dimension; can be smaller than numOfVars
int dimension = 0;
Expand Down Expand Up @@ -95,7 +94,6 @@ computeExponentialResidueWeights(const vec_ZZ &generic_vector,
mpq_vector
computeExponentialResidueWeights(const vec_ZZ &generic_vector,
const listCone *cone, int numOfVars)
throw(NotGenericException)
{
mpz_class prod_ray_scalar_products;
return computeExponentialResidueWeights(generic_vector,
Expand Down
6 changes: 2 additions & 4 deletions code/latte/ExponentialSubst.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ class Exponential_Single_Cone_Parameters
mpq_vector /* FIXME: This version can probably go away */
computeExponentialResidueWeights(const vec_ZZ &generic_vector,
mpz_class &prod_ray_scalar_products,
const listCone *cone, int numOfVars)
throw(NotGenericException);
const listCone *cone, int numOfVars);

mpq_vector
computeExponentialResidueWeights(const vec_ZZ &generic_vector,
const listCone *cone, int numOfVars)
throw(NotGenericException);
const listCone *cone, int numOfVars);

ZZ
scalar_power(const vec_ZZ &generic_vector,
Expand Down
2 changes: 1 addition & 1 deletion code/latte/sqlite/IntegrationDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ void IntegrationDB::insertSpecficPolytopeIntegrationTest(string polymakeFile, i
* @parm filePath: to the latte-style polynomial.
* @return rowid of the inserted row.
*/
int IntegrationDB::insertPolynomial(int dim, int degree, const char*filePath) throw(SqliteDBexception)
int IntegrationDB::insertPolynomial(int dim, int degree, const char*filePath)
{
if ( doesPolynomialExist(filePath))
throw SqliteDBexception(string("insertPolynomial::Polynomial ")+filePath+" already exist");
Expand Down
2 changes: 1 addition & 1 deletion code/latte/sqlite/IntegrationDB.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class IntegrationDB: public SqliteDB
int insertIntegrationTest(int polynomialID, int polytopeID);
void insertIntegrationTest(int dim, int degree, int vertexCount, int count);
void insertSpecficPolytopeIntegrationTest(string polymakeFile, int degree, int count);
int insertPolynomial(int dim, int degree, const char*filePath) throw(SqliteDBexception);
int insertPolynomial(int dim, int degree, const char*filePath);

int insertPolytope(int dim, int vertexCount, int simple, int dualRowID, const char* latteFilePath, const char* polymakeFilePath);

Expand Down

0 comments on commit 6dbf7f0

Please sign in to comment.