bugfix in regsurf

This commit is contained in:
Jiri Pittner 2024-02-21 15:04:34 +01:00
parent eaa0094948
commit 49a20be2bb
2 changed files with 3 additions and 3 deletions

View File

@ -482,7 +482,7 @@ void REGSURF<T>::Init(const unsigned int count_dimensions, const unsigned int co
// NRVec for vector of delta y values for surface [s_count_geometries] // NRVec for vector of delta y values for surface [s_count_geometries]
s_y_delta_vec = NRVec<T>(count_geometries); s_y_delta_vec = NRVec<T>(count_geometries);
// NRVec for vector of temporary y values for surface [s_count_geometries] // NRVec for vector of temporary y values for surface [s_count_geometries]
s_y_temp_vec = NRVec<T>(count_geometries); s_y_temp_vec = NRVec<T>(count_kernels);
// NRVec for vector of partial temporary y values for geometry [s_count_kernels] // NRVec for vector of partial temporary y values for geometry [s_count_kernels]
s_y_temp_part_vec = NRVec<T>(count_kernels); s_y_temp_part_vec = NRVec<T>(count_kernels);

View File

@ -196,7 +196,7 @@ protected:
T* s_y_preds = nullptr; T* s_y_preds = nullptr;
// the surfaces difference y data values of each surfaces [s_count_geometries] // the surfaces difference y data values of each surfaces [s_count_geometries]
T* s_y_delta = nullptr; T* s_y_delta = nullptr;
// the surfaces temporary y data values of each surfaces [s_count_geometries] // the surfaces temporary y data values of each surfaces [s_count_kernels]
T* s_y_temp = nullptr; T* s_y_temp = nullptr;
// the surfaces temporary y partial data values of each surfaces [count_kernels] // the surfaces temporary y partial data values of each surfaces [count_kernels]
T* s_y_temp_part = nullptr; T* s_y_temp_part = nullptr;
@ -260,7 +260,7 @@ protected:
NRVec<T> s_y_preds_vec; NRVec<T> s_y_preds_vec;
// NRVec for vector of delta y values for surface [s_count_geometries] // NRVec for vector of delta y values for surface [s_count_geometries]
NRVec<T> s_y_delta_vec; NRVec<T> s_y_delta_vec;
// NRVec for vector of temporary y values for surface [s_count_geometries] // NRVec for vector of temporary y values for surface [s_count_kernels]
NRVec<T> s_y_temp_vec; NRVec<T> s_y_temp_vec;
// NRVec for vector of temporary partial y values for geometry [s_count_kernels] // NRVec for vector of temporary partial y values for geometry [s_count_kernels]
NRVec<T> s_y_temp_part_vec; NRVec<T> s_y_temp_part_vec;