[seed] [mpfr] Fixed missing type in seed_mpfr_arg_type
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [mpfr] Fixed missing type in seed_mpfr_arg_type
- Date: Sat, 4 Jul 2009 06:20:43 +0000 (UTC)
commit dfce47fb03b2d3d619509d82bec1871eba93c2c2
Author: Matt ARSENAULT <arsenm2 rpi edu>
Date: Sat Jul 4 01:30:26 2009 -0400
[mpfr] Fixed missing type in seed_mpfr_arg_type
modules/mpfr/mpfr.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/mpfr/mpfr.c b/modules/mpfr/mpfr.c
index 30cce68..7e5dfd8 100644
--- a/modules/mpfr/mpfr.c
+++ b/modules/mpfr/mpfr.c
@@ -59,6 +59,8 @@ seed_mpfr_arg_type(SeedContext ctx, SeedValue arg, SeedException exept)
return SEED_MPFR_MPFR;
else if ( seed_value_is_number(ctx, arg) )
return SEED_MPFR_DOUBLE;
+ else if ( seed_value_is_string(ctx, arg) )
+ return SEED_MPFR_STRING;
else
return SEED_MPFR_UNKNOWN;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]