Commits

Chris_T committed 4475b30

Fix "hypot": takes two arguments

  • Participants
  • Parent commits 19abe05

Comments (0)

Files changed (3)

     = "ml_gsl_sf_cos_e"
 
 
-external hypot : float -> float
+external hypot : float -> float -> float
     = "ml_gsl_sf_hypot"
 
-external hypot_e : float -> result
+external hypot_e : float -> float -> result
     = "ml_gsl_sf_hypot_e"
 
 
     = "ml_gsl_sf_cos_e"
 
 
-external hypot : float -> float
+external hypot : float -> float -> float
     = "ml_gsl_sf_hypot"
 
-external hypot_e : float -> result
+external hypot_e : float -> float -> result
     = "ml_gsl_sf_hypot_e"
 
 

File lib/sf.mli.q

 (* TRIGONOMETRIC functions *)
 << sin float >>
 << cos float >>
-<< hypot float >>
+<< hypot float float >>
 << sinc float >>
 <:ext< complex_sin_e@ml_gsl_sf_complex_sin_e,float,float,result * result >>
 <:ext< complex_cos_e@ml_gsl_sf_complex_cos_e,float,float,result * result >>