@@ -178,14 +178,14 @@ def discretise_domain(
178178 chebyshev sampling, ``chebyshev``; grid sampling ``grid``.
179179 :param domains: The domains from which to sample. Default is ``all``.
180180 :type domains: str | list[str]
181- :param dict sample_rules: A dictionary defining custom sampling rules
182- for input variables. If provided, it must contain a dictionary
183- specifying the sampling rule for each variable, overriding the
184- ``n`` and ``mode`` arguments. Each key must correspond to the
185- input variables from
186- :meth:~pina.problem.AbstractProblem.input_variables, and its value
187- should be another dictionary with
188- two keys: ``n`` (number of points to sample) and ``mode``
181+ :param dict sample_rules: A dictionary defining custom sampling rules
182+ for input variables. If provided, it must contain a dictionary
183+ specifying the sampling rule for each variable, overriding the
184+ ``n`` and ``mode`` arguments. Each key must correspond to the
185+ input variables from
186+ :meth:~pina.problem.AbstractProblem.input_variables, and its value
187+ should be another dictionary with
188+ two keys: ``n`` (number of points to sample) and ``mode``
189189 (sampling method). Defaults to None.
190190 :raises RuntimeError: If both ``n`` and ``sample_rules`` are specified.
191191 :raises RuntimeError: If neither ``n`` nor ``sample_rules`` are set.
@@ -214,8 +214,8 @@ def discretise_domain(
214214 implemented for :class:`~pina.domain.cartesian.CartesianDomain`.
215215
216216 .. warning::
217- If custom discretisation is applied by setting ``sample_rules`` not
218- to ``None``, then the discretised domain must be of class
217+ If custom discretisation is applied by setting ``sample_rules`` not
218+ to ``None``, then the discretised domain must be of class
219219 :class:`~pina.domain.cartesian.CartesianDomain`
220220 """
221221
0 commit comments