Skip to content

Commit 19d31cf

Browse files
authored
0 frac fix
1 parent 7ce1b88 commit 19d31cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/evaluator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "evaluator.h"
22

33
set<char> banned_var_starts{'1','2','3','4','5','6','7','8','9','0','/','-'};
4-
set<char> frac_start{'-','1','2','3','4','5','6','7','8','9',SQRT_CH[0]};
4+
set<char> frac_start{'-','0','1','2','3','4','5','6','7','8','9',SQRT_CH[0]};
55

66
inline bool is_ptr(DataType t) {
77
return t == TYPE_MATRIX || t == TYPE_VECTOR;
@@ -170,4 +170,4 @@ void process_expressions() {
170170
delete data.ptr;
171171
}
172172
}
173-
}
173+
}

0 commit comments

Comments
 (0)