-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
A user found that when using UnflattenFromJSON for double arrays, if the JSON string encounters -Infinity then:
- The node errors with code -375011
- The node returns an array with partially parsed results
See forum: https://forums.ni.com/t5/G-Web-Development-Software/Bug-on-Unflatten-from-JSON/m-p/4361814#M702
Didn't thoroughly debug but scanning source the following line looks suspicious which seems to indicate that any negative value will not be treated like Infinity:
VireoSDK/source/core/TDCodecVia.cpp
Line 1207 in 673eb0d
| (leadingChar == '.' || leadingChar == '-' || isdigit(leadingChar)); // not inf, nan |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
