corrected a minor coding flaw in number.c
This commit is contained in:
parent
0011937699
commit
1fa0d684bc
@ -50,7 +50,7 @@ static hcl_ooi_t equalize_scale (hcl_t* hcl, hcl_oop_t* x, hcl_oop_t* y)
|
||||
|
||||
ys = 0;
|
||||
yv = *y;
|
||||
if (HCL_IS_FPDEC(hcl, *y))
|
||||
if (HCL_IS_FPDEC(hcl, yv))
|
||||
{
|
||||
ys = HCL_OOP_TO_SMOOI(((hcl_oop_fpdec_t)yv)->scale);
|
||||
yv = ((hcl_oop_fpdec_t)yv)->value;
|
||||
|
Loading…
Reference in New Issue
Block a user