Merge branch '23.0-compiler-warning-TrkDistortedSurfaces' into 'master'

23.0-compiler-warning-TrkDistortedSurfaces

See merge request !56335

(cherry picked from commit f51468bb)

27c3fcfc correct indexing into matrix
1 job for cherry-pick-f51468bbe68-22.0 in 0 seconds (queued for 57 seconds)