Skip to content

Commit

Permalink
Fix function name in warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
garfieldnate committed Sep 20, 2024
1 parent b59870b commit 67ca6c3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1090,14 +1090,14 @@ Symbol* round_off_heading_air_rhs_function_code(agent* thisAgent, cons* args, vo

if (!args)
{
thisAgent->outputManager->printa(thisAgent, "Error: 'round_off_heading' function called with no arguments\n");
thisAgent->outputManager->printa(thisAgent, "Error: 'round-off-heading' function called with no arguments\n");
return NIL;
}

if (!args->rest)
{
/* --- only one argument --- */
thisAgent->outputManager->printa(thisAgent, "Error: 'round_off_heading' function called with only one argument.\n");
thisAgent->outputManager->printa(thisAgent, "Error: 'round-off-heading' function called with only one argument.\n");
return NIL;
}

Expand All @@ -1116,7 +1116,7 @@ Symbol* round_off_heading_air_rhs_function_code(agent* thisAgent, cons* args, vo
if (c->rest)
{
/* --- more than two arguments --- */
thisAgent->outputManager->printa(thisAgent, "Error: 'round_off_heading' function called with more than two arguments.\n");
thisAgent->outputManager->printa(thisAgent, "Error: 'round-off-heading' function called with more than two arguments.\n");
return NIL;
}
arg = static_cast<Symbol*>(c->first);
Expand Down

0 comments on commit 67ca6c3

Please sign in to comment.