Skip to content

Commit

Permalink
fix house pos argument length
Browse files Browse the repository at this point in the history
  • Loading branch information
dfl committed Mar 29, 2023
1 parent 088d1d3 commit ce862ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/swe4r/swe4r.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ static VALUE t_swe_cotrans(int argc, VALUE *argv, VALUE self) {
return output;
}

static VALUE t_swe_house_pos( VALUE self, VALUE armc, VALUE geolat, VALUE eps, VALUE lat, VALUE hsys, VALUE eclon, VALUE eclat )
static VALUE t_swe_house_pos( VALUE self, VALUE armc, VALUE geolat, VALUE eps, VALUE hsys, VALUE eclon, VALUE eclat )
{
// double armc, /* ARMC */
// double geolat, /* geographic latitude, in degrees */
Expand Down Expand Up @@ -501,7 +501,7 @@ void Init_swe4r()
rb_define_module_function(rb_mSwe4r, "swe_rise_trans_true_hor", t_swe_rise_trans_true_hor, 10);
rb_define_module_function(rb_mSwe4r, "swe_azalt", t_swe_azalt, 10);
rb_define_module_function(rb_mSwe4r, "swe_cotrans", t_swe_cotrans, -1);
rb_define_module_function(rb_mSwe4r, "swe_house_pos", t_swe_house_pos, 7);
rb_define_module_function(rb_mSwe4r, "swe_house_pos", t_swe_house_pos, 6);

// Constants

Expand Down

0 comments on commit ce862ea

Please sign in to comment.