Permalink
Browse files

Fix another Bignum handling case

  • Loading branch information...
1 parent 92feaa5 commit b7e379b2b88343801ecd2a42edc9adc6e8ee6f9c @dbussink dbussink committed Feb 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 vm/capi/fixnum.cpp
View
@@ -41,7 +41,7 @@ extern "C" {
if(Fixnum* exp_fix = try_as<Fixnum>(exp)) {
return env->get_handle(base_fix->pow(state, exp_fix));
} else {
- return env->get_handle(base_fix->pow(state, as<Bignum>(exp_fix)));
+ return env->get_handle(base_fix->pow(state, as<Bignum>(exp)));
}
} else {
if(Fixnum* exp_fix = try_as<Fixnum>(exp)) {

0 comments on commit b7e379b

Please sign in to comment.