1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Bug fix: [ruby-dev:21314] [BigDecimal] [BUG] Segmentation fault

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shigek 2003-09-04 03:50:37 +00:00
parent 4e0868d03f
commit 98abf532a4

View file

@ -2164,7 +2164,7 @@ end_if:
VpSetSign(c,VpGetSign(a_ptr) * sw);
}
}
VpInternalRound(c,0,(c->Prec>0)?a->frac[c->Prec-1]:0,mrv);
VpInternalRound(c,0,(c->Prec>0)?c->frac[c->Prec-1]:0,mrv);
#ifdef _DEBUG
if(gfDebug) {