Merge pull request #3848 from BigRoy/transcoding_fix_typo_divisor

Transcoding: Fix typo in logic for matrix type
This commit is contained in:
Jakub Trllo 2022-09-14 13:45:36 +02:00 committed by GitHub
commit 700dd5ebff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ def convert_value_by_type_name(value_type, value, logger=None):
elif parts_len == 4:
divisor = 2
elif parts_len == 9:
divisor == 3
divisor = 3
elif parts_len == 16:
divisor = 4
else:

View file

@ -71,7 +71,7 @@ def convert_value_by_type_name(value_type, value):
elif parts_len == 4:
divisor = 2
elif parts_len == 9:
divisor == 3
divisor = 3
elif parts_len == 16:
divisor = 4
else: