From 6b7b961dc60cc61401a0de624d4ccfc403d791e6 Mon Sep 17 00:00:00 2001 From: sunwen Date: Tue, 23 May 2023 16:27:05 +0800 Subject: [PATCH] delete comment of getGeometryInfo after speed up. --- src/common/getGeometryInfo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/getGeometryInfo.cpp b/src/common/getGeometryInfo.cpp index c27b195..e434ff8 100644 --- a/src/common/getGeometryInfo.cpp +++ b/src/common/getGeometryInfo.cpp @@ -34,11 +34,9 @@ Matrix loadSensitivity() Matrix y0 = linspace(-90,90,fullSens1D.getDataSize()); Matrix x1 = linspace(-90,90,181); Matrix y1 = linspace(-90,90,181); - //Matrix y = repmat(Matrix::copyFromRawData(y1.getData(), 1),181,1); double* resultData = new double[y1.getDataSize() * x1.getDataSize()]; Matrix result = Matrix::fromRawData(resultData, y1.getDataSize(), x1.getDataSize()); std::vector resultTemp(181); - //Matrix result = interpn(x0,y0,fullSens2D,x1,y,InterpnMethod::Linear); #pragma omp parallel for for(int i=0; i<181; ++i) {