Skip to content

Commit

Permalink
[refactor] avoid long to double
Browse files Browse the repository at this point in the history
  • Loading branch information
ylht committed Dec 25, 2023
1 parent e34bdff commit ad705b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ecnu/db/schema/Column.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public double[] calculate() {
switch (columnType) {
case DATE, DATETIME -> {
for (int i = 0; i < columnData.length; i++) {
ret[i] = columnData[i] + min;
ret[i] = (columnData[i] + min);
}
}
case DECIMAL -> {
Expand Down

0 comments on commit ad705b1

Please sign in to comment.