From 4e406e17a3097bbbca06995de0f6218e98426331 Mon Sep 17 00:00:00 2001
From: Michael Kohnen <michael.kohnen@akustik.rwth-aachen.de>
Date: Wed, 26 Apr 2017 15:58:01 +0200
Subject: [PATCH] Revert "bugfix sofa_read:"

This reverts commit 05d3a5aecf833e49f0dadd205e6d0237aef2adb0.
---
 external_packages/sofa/itaFunctions/ita_sofa_getCoordinates.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external_packages/sofa/itaFunctions/ita_sofa_getCoordinates.m b/external_packages/sofa/itaFunctions/ita_sofa_getCoordinates.m
index cfac1179..0483ae6a 100644
--- a/external_packages/sofa/itaFunctions/ita_sofa_getCoordinates.m
+++ b/external_packages/sofa/itaFunctions/ita_sofa_getCoordinates.m
@@ -50,7 +50,7 @@ switch dataType
     case 'spherical'
 %         if strcmpi(dataUnit,'degree')
             coordinates.phi_deg = data(:,1);
-            coordinates.elevation = data(:,2);
+            coordinates.theta_deg = data(:,2)+90;
             coordinates.r = data(:,3);
 %         else
 %             warning('ITA_READ_SOFA: unit is not checked in spherical type'); 
-- 
GitLab