don't truncate cuberoot to single precision

This commit is contained in:
Axel Kohlmeyer
2025-06-28 02:22:09 -04:00
parent bd98354691
commit c28869124b

View File

@ -115,7 +115,7 @@ UEFBox::UEFBox()
------------------------------------------------------------------------- */
void UEFBox::get_box(double x[3][3], double v)
{
v = cbrtf(v);
v = cbrt(v);
for (int k=0;k<3;k++)
for (int j=0;j<3;j++)
x[k][j] = lrot[k][j]*v;