Skip to content
Snippets Groups Projects
Commit a1d43b1d authored by Markus Holzer's avatar Markus Holzer
Browse files

Remove NodeList Warning

parent 00738cb8
Branches
Tags
1 merge request!292Rebase of pystencils Type System
import logging
from typing import List, Union from typing import List, Union
import sympy import sympy
...@@ -22,7 +21,6 @@ class NodeCollection: ...@@ -22,7 +21,6 @@ class NodeCollection:
elif all((isinstance(n, Node) for n in assignments)): elif all((isinstance(n, Node) for n in assignments)):
self.is_Nodes = True self.is_Nodes = True
self.is_Assignments = False self.is_Assignments = False
logging.warning('Using Nodes is experimental and not fully tested. Double check your generated code!')
else: else:
raise ValueError(f'The list "{assignments}" is mixed. Pass either a list of "pystencils.Assignments" ' raise ValueError(f'The list "{assignments}" is mixed. Pass either a list of "pystencils.Assignments" '
f'or a list of "pystencils.astnodes.Node') f'or a list of "pystencils.astnodes.Node')
......
...@@ -89,7 +89,6 @@ class CastFunc(sp.Function): ...@@ -89,7 +89,6 @@ class CastFunc(sp.Function):
else: else:
return super().is_nonnegative return super().is_nonnegative
@property @property
def is_real(self): def is_real(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment