1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

replace INT2FIX to INT2NUM in CvConDensation

This commit is contained in:
ser1zw 2012-05-01 00:20:52 +09:00
parent e20f09a90b
commit 7e850a3d8b

View file

@ -58,7 +58,7 @@ define_ruby_class()
VALUE
rb_dp(VALUE self)
{
return INT2FIX(CVCONDENSATION(self)->DP);
return INT2NUM(CVCONDENSATION(self)->DP);
}
/*
@ -70,7 +70,7 @@ rb_dp(VALUE self)
VALUE
rb_mp(VALUE self)
{
return INT2FIX(CVCONDENSATION(self)->MP);
return INT2NUM(CVCONDENSATION(self)->MP);
}
/*
@ -162,7 +162,7 @@ rb_state(VALUE self)
VALUE
rb_samples_num(VALUE self)
{
return INT2FIX(CVCONDENSATION(self)->SamplesNum);
return INT2NUM(CVCONDENSATION(self)->SamplesNum);
}
/*