java-romp / jromp

Java Runtime implementation of OpenMP.
https://java-romp.github.io/jromp/
MIT License
5 stars 0 forks source link

fix: prevent `ArrayIndexOutOfBoundsException` on sections construct #14

Closed scastd closed 3 months ago

scastd commented 3 months ago

โ“ Type of change

๐Ÿ“š Description, Motivation and Context

Resolves #13.

๐Ÿงช How Has This Been Tested?

New test cases have been added that cover the specific case where there are more threads than sections to run. All of them run and pass successfully.

๐Ÿ“ Checklist