Skip to content

Commit

Permalink
MatrixInputValidator wrapper args error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulranjansah committed Apr 15, 2024
1 parent ef20c15 commit bed121f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# global imports
from sympy import Matrix, latex, pprint, init_printing, shape
init_printing(use_unicode=True)

Expand Down Expand Up @@ -57,11 +58,11 @@ def build_matrix(self):
"""
Builds the matrix and stores it in the list for easy user experience
"""
matrix_input_validator = MatrixInputValidator()
matrix_count = matrix_input_validator.get_matrix_count()
# matrix_input_validator = MatrixInputValidator()
matrix_count = MatrixInputValidator.get_matrix_count()
for _ in range(matrix_count):
rows = matrix_input_validator.get_rows()
columns = matrix_input_validator.get_columns()
rows =MatrixInputValidator.get_rows()
columns = MatrixInputValidator.get_columns()
matrix = self.create_matrix(rows, columns)
self.matrices.append(matrix)
return self.matrices
Expand Down Expand Up @@ -296,6 +297,5 @@ def main():
operartionkey = OperationKey(builder)
operartionkey.choosekey()


if __name__ == "__main__":
main()
main()

0 comments on commit bed121f

Please sign in to comment.