File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ struct WrapPolynomialBase
624624 wrapped.method (" _add" , [](const WrappedT& a, const WrappedT& b) { return a + b; });
625625 wrapped.method (" _sub" , [](const WrappedT& a, const WrappedT& b) { return a - b; });
626626 wrapped.method (" _mul" , [](const WrappedT& a, const WrappedT& b) { return a * b; });
627- wrapped.method (" ^" , [](const WrappedT& a, int64_t b) { return a ^ b ; });
627+ wrapped.method (" ^" , [](const WrappedT& a, int64_t b) { return a ^ static_cast <pm::Int>(b) ; });
628628 wrapped.method (" /" , [](const WrappedT& a, const coeffT& c) { return a / c; });
629629 wrapped.method (" coefficients_as_vector" , &WrappedT::coefficients_as_vector);
630630 wrapped.method (" set_var_names" , [](const WrappedT& a, const Array<std::string>& names) { a.set_var_names (names); });
You can’t perform that action at this time.
0 commit comments