Skip to content

Commit

Permalink
unirec++ - fix checkDataTypeCompatibility for non-array values
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel committed Sep 30, 2024
1 parent ca2b475 commit e9ff26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unirec/include/unirec++/unirecRecord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class UnirecRecord {
if (ur_is_array(fieldID)) {
expectedType = getExpectedUnirecType<RequiredType*>();
} else {
expectedType = getExpectedUnirecType<RequiredType*>();
expectedType = getExpectedUnirecType<RequiredType>();
}

if (expectedType != ur_get_type(fieldID)) {
Expand Down

0 comments on commit e9ff26f

Please sign in to comment.