Fix UE6 A1
This commit is contained in:
parent
e55d7c4615
commit
0b837f76cf
@ -30,7 +30,6 @@ type Row = [Skalar]
|
|||||||
|
|
||||||
construct_matrix :: MatrixF -> Zeile -> [Row] -> [Row]
|
construct_matrix :: MatrixF -> Zeile -> [Row] -> [Row]
|
||||||
construct_matrix m rc res
|
construct_matrix m rc res
|
||||||
| m == fehler = []
|
|
||||||
| rc > numrow = res
|
| rc > numrow = res
|
||||||
| otherwise =
|
| otherwise =
|
||||||
construct_matrix m (rc + 1) (res ++ [(construct_row f numcol rc 1 [])])
|
construct_matrix m (rc + 1) (res ++ [(construct_row f numcol rc 1 [])])
|
||||||
@ -46,7 +45,6 @@ construct_row f numcol rc cc res
|
|||||||
|
|
||||||
is_correct_matrix :: MatrixF -> Bool
|
is_correct_matrix :: MatrixF -> Bool
|
||||||
is_correct_matrix m
|
is_correct_matrix m
|
||||||
| m == fehler = False
|
|
||||||
| fst t == height && snd t == width = True
|
| fst t == height && snd t == width = True
|
||||||
| otherwise = False
|
| otherwise = False
|
||||||
where
|
where
|
||||||
|
Reference in New Issue
Block a user