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:
parent
e20f09a90b
commit
7e850a3d8b
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ define_ruby_class()
|
||||||
VALUE
|
VALUE
|
||||||
rb_dp(VALUE self)
|
rb_dp(VALUE self)
|
||||||
{
|
{
|
||||||
return INT2FIX(CVCONDENSATION(self)->DP);
|
return INT2NUM(CVCONDENSATION(self)->DP);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -70,7 +70,7 @@ rb_dp(VALUE self)
|
||||||
VALUE
|
VALUE
|
||||||
rb_mp(VALUE self)
|
rb_mp(VALUE self)
|
||||||
{
|
{
|
||||||
return INT2FIX(CVCONDENSATION(self)->MP);
|
return INT2NUM(CVCONDENSATION(self)->MP);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -162,7 +162,7 @@ rb_state(VALUE self)
|
||||||
VALUE
|
VALUE
|
||||||
rb_samples_num(VALUE self)
|
rb_samples_num(VALUE self)
|
||||||
{
|
{
|
||||||
return INT2FIX(CVCONDENSATION(self)->SamplesNum);
|
return INT2NUM(CVCONDENSATION(self)->SamplesNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue