SAnsell / CombLayer

MCNP(X) project builder using C++
GNU General Public License v3.0
13 stars 13 forks source link

Fixed memory overflow while populating vector of isotopes and abundances #139

Closed lkurakht closed 2 years ago

lkurakht commented 2 years ago

IsoAM and FracV arrays has data for 99 elements, loop tried to fill up the 100th. Also checked consistency of NIso and IsoAM tables (in attached notebook isofix.ipynb.zip )

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

SAnsell commented 2 years ago

Many thanks -- fixes the problem of the overrun.