Skip to content

Commit c328763

Browse files
committed
Removed Error in Third Version
1 parent 4a11425 commit c328763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

moongui/src/app/graph/graph-histogram/graph-histogram.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class GraphHistogramComponent implements OnChanges, AfterViewInit {
147147
private arrayMax(array) {
148148
return array.reduce(function(a, b) {
149149
return Math.max(a, b);
150-
});
150+
},0);
151151
}
152152

153153
/**
@@ -157,7 +157,7 @@ export class GraphHistogramComponent implements OnChanges, AfterViewInit {
157157
private arrayMin(array) {
158158
return array.reduce(function(a, b) {
159159
return Math.min(a, b);
160-
});
160+
},100);
161161
}
162162

163163
/**

0 commit comments

Comments
 (0)