From 2b10d15c85226a29b8b10bd83f9f2820baca8452 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Tue, 14 Oct 2014 10:39:21 -0500 Subject: [PATCH] updated framework for metrics --- envi/bil.h | 2 +- envi/bip.h | 2 +- envi/bsq.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/envi/bil.h b/envi/bil.h index ff1047b..88fd3d5 100644 --- a/envi/bil.h +++ b/envi/bil.h @@ -411,7 +411,7 @@ public: lp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); //memory allocation rp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); - heigth = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); + result = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); band(lp, lb); //get the data of the left bounbd and the right bound band(rp, rb); diff --git a/envi/bip.h b/envi/bip.h index 7bd9733..fc82096 100644 --- a/envi/bip.h +++ b/envi/bip.h @@ -498,7 +498,7 @@ public: lp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); //memory allocation rp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); - heigth = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); + result = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); band(lp, lb); //get the data of the left bounbd and the right bound band(rp, rb); diff --git a/envi/bsq.h b/envi/bsq.h index b2b2c00..0de7abd 100644 --- a/envi/bsq.h +++ b/envi/bsq.h @@ -333,7 +333,7 @@ public: lp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); //memory allocation rp = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); - heigth = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); + result = (T*) malloc(sizeof(R[0] * R[1] * sizeof(T))); band(lp, lb); //get the data of the left bounbd and the right bound band(rp, rb); -- libgit2 0.21.4