Browse Source

use of intermediate value to make conversion work with gmp

tempestpy_adaptions
dehnert 8 years ago
committed by sjunges
parent
commit
4e1855a440
  1. 3
      src/storm/utility/constants.cpp

3
src/storm/utility/constants.cpp

@ -531,7 +531,8 @@ namespace storm {
template<>
ClnRationalNumber convertNumber(RationalFunction const& number) {
return convertNumber<ClnRationalNumber>(number.nominatorAsNumber() / number.denominatorAsNumber());
storm::RationalFunctionCoefficient tmp = number.nominatorAsNumber() / number.denominatorAsNumber();
return convertNumber<ClnRationalNumber>(tmp);
}
#endif

Loading…
Cancel
Save