libocca / occa

Portable and vendor neutral framework for parallel programming on heterogeneous platforms.
https://libocca.org
MIT License
389 stars 82 forks source link

[bugfix] Remove ring entry reference if exists #661

Closed deukhyun-cha closed 1 year ago

deukhyun-cha commented 1 year ago

Description

Fixing a simple bug that access element when it was not found.

codecov[bot] commented 1 year ago

Codecov Report

Merging #661 (90ab9d6) into development (662cd0a) will increase coverage by 0.00%. The diff coverage is n/a.

:exclamation: Current head 90ab9d6 differs from pull request most recent head acead4b. Consider uploading reports for the commit acead4b to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/libocca/occa/pull/661/graphs/tree.svg?width=650&height=150&src=pr&token=doaG4c84wZ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)](https://codecov.io/gh/libocca/occa/pull/661?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) ```diff @@ Coverage Diff @@ ## development #661 +/- ## ============================================ Coverage 76.30% 76.30% ============================================ Files 291 291 Lines 18778 18779 +1 ============================================ + Hits 14328 14329 +1 Misses 4450 4450 ``` | [Impacted Files](https://codecov.io/gh/libocca/occa/pull/661?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) | Coverage Δ | | |---|---|---| | [src/occa/internal/utils/gc.tpp](https://codecov.io/gh/libocca/occa/pull/661?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvdXRpbHMvZ2MudHBw) | `100.00% <ø> (ø)` | | ... and [2 files with indirect coverage changes](https://codecov.io/gh/libocca/occa/pull/661/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)