Skip to content
Snippets Groups Projects
Commit f73aaeb0 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Revert "PwQPolynomial.eval_from_dict: Check whether eval point is in domain"

This reverts commit bd13bed9. Turns out
PwQPolynomial is implicitly zero outside of its domain, and validity
needs to be tracked through other means.
parent bd13bed9
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -687,10 +687,6 @@ def _add_functionality():
pt = pt.set_coordinate_val(
dim_type.param, i, value_dict[par_name])
if not (Set.from_point(pt) <= self.domain()):
raise ValueError("evaluation point outside of domain of "
"definition of piecewise quasipolynomial")
return self.eval(pt).to_python()
PwQPolynomial.eval_with_dict = pwqpolynomial_eval_with_dict
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment