diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/rrdMultiFile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rrdMultiFile.js b/src/lib/rrdMultiFile.js index b11d523..1e2af85 100644 --- a/src/lib/rrdMultiFile.js +++ b/src/lib/rrdMultiFile.js @@ -46,7 +46,7 @@ RRDRRASum.prototype.getEl = function(row_idx,ds_idx) { var outSum=0.0;
for (var i in this.rra_list) {
var offset=this.offset_list[i];
- if ((row_id+offset)<this.row_cnt) {
+ if ((row_idx+offset)<this.row_cnt) {
var rra=this.rra_list[i];
val=rra.getEl(row_idx+offset,ds_idx);
} else {
|