Skip to content

Commit

Permalink
(#5) Fix substraction->subtraction typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Nov 8, 2024
1 parent 4c6f85f commit 555245d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/ta_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -4769,7 +4769,7 @@ TA_LIB_API int TA_STOCHRSI_Lookback( int optInTimePeriod, /* From 2 to
TA_MAType optInFastD_MAType );

/*
* TA_SUB - Vector Arithmetic Substraction
* TA_SUB - Vector Arithmetic Subtraction
*
* Input = double, double
* Output = double
Expand Down
2 changes: 1 addition & 1 deletion src/ta_abstract/tables/table_s.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ DEF_MATH_UNARY_OPERATOR( SQRT, "Vector Square Root", "Sqrt" )
/* SQRT END */

/* SUB BEGIN */
DEF_MATH_BINARY_OPERATOR( SUB, "Vector Arithmetic Substraction", "Sub" )
DEF_MATH_BINARY_OPERATOR( SUB, "Vector Arithmetic Subtraction", "Sub" )
/* SUB END */

/* SUM BEGIN */
Expand Down
2 changes: 1 addition & 1 deletion src/ta_func/ta_SUB.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

/**** START GENCODE SECTION 3 - DO NOT DELETE THIS LINE ****/
/*
* TA_SUB - Vector Arithmetic Substraction
* TA_SUB - Vector Arithmetic Subtraction
*
* Input = double, double
* Output = double
Expand Down
2 changes: 1 addition & 1 deletion ta_func_api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6250,7 +6250,7 @@
<FinancialFunction>
<Abbreviation>SUB</Abbreviation>
<CamelCaseName>Sub</CamelCaseName>
<ShortDescription>Vector Arithmetic Substraction</ShortDescription>
<ShortDescription>Vector Arithmetic Subtraction</ShortDescription>
<GroupId>Math Operators</GroupId>
<RequiredInputArguments>
<RequiredInputArgument>
Expand Down
2 changes: 1 addition & 1 deletion ta_func_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ STDDEV Standard Deviation
STOCH Stochastic
STOCHF Stochastic Fast
STOCHRSI Stochastic Relative Strength Index
SUB Vector Arithmetic Substraction
SUB Vector Arithmetic Subtraction
SUM Summation
T3 Triple Exponential Moving Average (T3)
TAN Vector Trigonometric Tan
Expand Down

0 comments on commit 555245d

Please sign in to comment.