We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43bf284 commit b0db434Copy full SHA for b0db434
kb_python/utils.py
@@ -799,7 +799,7 @@ def do_sum_matrices(
799
if not mm:
800
_nums1[0] = int(_nums1[0])
801
_nums1[1] = int(_nums1[1])
802
- _nums1[2] = int(_nums1[2])
+ _nums1[2] = int(float(_nums1[2]))
803
else:
804
805
@@ -809,7 +809,7 @@ def do_sum_matrices(
809
810
_nums2[0] = int(_nums2[0])
811
_nums2[1] = int(_nums2[1])
812
- _nums2[2] = int(_nums2[2])
+ _nums2[2] = int(float(_nums2[2]))
813
814
815
0 commit comments