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

Fixed linter errors

parent 0556cf38
No related branches found
No related tags found
1 merge request!171count_operations: fix to not count integer expressions for addresses/constants as real operations
Pipeline #26998 passed
......@@ -10,7 +10,7 @@ from sympy.functions import Abs
from sympy.core.numbers import Zero
from pystencils.assignment import Assignment
from pystencils.data_types import cast_func, get_base_type, get_type_of_expression, PointerType
from pystencils.data_types import cast_func, get_type_of_expression, PointerType
from pystencils.kernelparameters import FieldPointerSymbol
T = TypeVar('T')
......@@ -455,7 +455,6 @@ def count_operations(term: Union[sp.Expr, List[sp.Expr]],
elif isinstance(term, Assignment):
term = term.rhs
def check_type(e):
if only_type is None:
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment