CrayLabs / SmartRedis

SmartSim Infrastructure Library Clients.
BSD 2-Clause "Simplified" License
54 stars 25 forks source link

Enforce matching type for dataset::unpack_tensor #478

Closed mellis13 closed 7 months ago

mellis13 commented 7 months ago

Client.unpack_tensor() enforces that the user-provided TensorType matches the internally known type. This check was not added to DataSet::unpack_tensor(), although the information is available. This check was added to resolve a compiler warning regarding the unused TensorType function parameter.