Skip to content
Snippets Groups Projects
Commit e88bfdd9 authored by Daniel Bauer's avatar Daniel Bauer :speech_balloon:
Browse files

fix typing

parent 34726b52
1 merge request!43Clean up indexing, Pt. 1
......@@ -36,7 +36,7 @@ class Operations:
def to_table(self) -> str:
d = vars(self)
return tabulate.tabulate([d.values()], headers=d.keys()) # type: ignore
return tabulate.tabulate([d.values()], headers=list(d.keys()))
def count_operations(
......
......@@ -21,10 +21,12 @@ class BlendingFTriangle(MultiAssignment):
def function_name(self):
return "Blending_F_Triangle"
def num_input_args(self):
@classmethod
def num_input_args(cls):
return 2
def num_output_args(self):
@classmethod
def num_output_args(cls):
return 2
def implementation(self):
......@@ -39,10 +41,12 @@ class BlendingFEmbeddedTriangle(MultiAssignment):
def function_name(self):
return "Blending_F_EmbeddedTriangle"
def num_input_args(self):
@classmethod
def num_input_args(cls):
return 3
def num_output_args(self):
@classmethod
def num_output_args(cls):
return 3
def implementation(self):
......@@ -58,10 +62,12 @@ class BlendingFTetrahedron(MultiAssignment):
def function_name(self):
return "Blending_F_Tetrahedron"
def num_input_args(self):
@classmethod
def num_input_args(cls):
return 3
def num_output_args(self):
@classmethod
def num_output_args(cls):
return 3
def implementation(self):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment