Skip to content

Commit

Permalink
use same data type as given my Mathematica
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Oct 20, 2016
1 parent 034775f commit d9dbb13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/librarylink.cpp.in
Expand Up @@ -109,14 +109,14 @@ public:

class EWrongNumberOfParameters : public Error {
public:
EWrongNumberOfParameters(unsigned pars_, unsigned expected_)
EWrongNumberOfParameters(mint pars_, mint expected_)
: pars(pars_), expected(expected_) {}
virtual ~EWrongNumberOfParameters() {}
virtual std::string what() const {
return "Wrong number of arguments: " + ToString(pars)
+ ". Expected: " + ToString(expected);
}
unsigned pars, expected;
mint pars, expected;
};

class EInvalidSpectrum : public Error {
Expand Down

0 comments on commit d9dbb13

Please sign in to comment.