We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf92262 commit eff82b8Copy full SHA for eff82b8
src/core/expr/funary/hyperbolic.cc
@@ -65,9 +65,9 @@ class FExpr_Hyperbolic : public FExpr_FuncUnary {
65
* FLOAT32 -> FLOAT32
66
*
67
*/
68
- template <typename T>
+ template <typename T, size_t POSN>
69
static inline T op_hyperbolic(T x) {
70
- switch (POS) {
+ switch (POSN) {
71
case 1:
72
return sinh(x);
73
case 2:
@@ -113,7 +113,7 @@ class FExpr_Hyperbolic : public FExpr_FuncUnary {
113
static Column make(Column&& col) {
114
xassert(compatible_type<T>(col.stype()));
115
return Column(new FuncUnary1_ColumnImpl<T, T>(
116
- std::move(col), op_hyperbolic<T>,
+ std::move(col), op_hyperbolic<T, POSS>,
117
col.nrows(), col.stype()
118
));
119
}
0 commit comments