Merge branch 'dev'

This commit is contained in:
MITSUNARI Shigeo 2024-02-11 10:15:10 +09:00
commit 021e70c97f

View file

@ -177,7 +177,7 @@ private:
}
uint32_t extractBit(uint32_t val, uint32_t base, uint32_t end)
{
return (val >> base) & ((1u << (end - base)) - 1);
return (val >> base) & ((1u << (end + 1 - base)) - 1);
}
void setNumCores()
{