fix various compiler warnings

Description

Fixes some annoying compiler warnings.

  • rand: Wshorten-64-to-32 (setting array size with uint64_t on 32-bit systems)
  • threads fork join: -Wshorten-64-to-32 (assigning Index to int)
  • SVD: Wmaybe-uninitialized (possibly returns uninitialized data to the user if assertions are disabled and SVD was not completed due to non-finite scale)
  • tensor expr: Wunused-function (test disabled for EIGEN_ARCH_ARM_OR_ARM64)

Reference issue

Additional information

Edited by Charles Schlosser

Merge request reports

Loading