Skip to content

Commit

Permalink
Merge pull request #287 from LPCIC/fix-275
Browse files Browse the repository at this point in the history
fix #275
  • Loading branch information
gares authored Nov 22, 2024
2 parents 0058048 + 7b953e3 commit fb0c159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ module Calc = struct
| [ CData x ] when is_float x -> (map float float sqrt x)
| _ -> type_error "Wrong arguments to sqrt") ;
register_eval 1 ("sin",["float"]) (function
| [ CData x ] when is_float x -> (map float float sqrt x)
| [ CData x ] when is_float x -> (map float float sin x)
| _ -> type_error "Wrong arguments to sin") ;
register_eval 1 ("cos",["float"]) (function
| [ CData x ] when is_float x -> (map float float cos x)
Expand Down

0 comments on commit fb0c159

Please sign in to comment.