From 7e850a3d8b992d314f68798c2650a606e33d9170 Mon Sep 17 00:00:00 2001 From: ser1zw Date: Tue, 1 May 2012 00:20:52 +0900 Subject: [PATCH] replace INT2FIX to INT2NUM in CvConDensation --- ext/opencv/cvcondensation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/opencv/cvcondensation.cpp b/ext/opencv/cvcondensation.cpp index a28c297..271d9bd 100644 --- a/ext/opencv/cvcondensation.cpp +++ b/ext/opencv/cvcondensation.cpp @@ -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); } /*