X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/cc6c00616ffb4e7bdf81d5d186ea91b61b304ff1..960f0c252361dfd696359f803aae40a9b13b14a6:/pypol/domains.py?ds=inline diff --git a/pypol/domains.py b/pypol/domains.py index e730f16..f918e14 100644 --- a/pypol/domains.py +++ b/pypol/domains.py @@ -1,3 +1,20 @@ +# Copyright 2014 MINES ParisTech +# +# This file is part of Linpy. +# +# Linpy is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Linpy is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Linpy. If not, see . + import ast import functools import re @@ -305,9 +322,9 @@ class Domain(GeometricObject): return self._fromislset(islset, self.symbols) - def involvesvars(self, vars): + def involves_vars(self, vars): """ - Returns true if set depends on given dimensions. + Returns true if a set depends on given dimensions. """ islset = self._toislset(self.polyhedra, self.symbols) dims = sorted(vars)