From 09d6e17ca6c75da812039a90012e15ceada65152 Mon Sep 17 00:00:00 2001 From: srn Date: Thu, 9 Feb 2006 15:22:31 +0000 Subject: [PATCH] Fixed a bug --- src/KERNEL_PY/iparameters.py | 6 +++--- src/SALOMEDS/SALOMEDS_IParameters.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/KERNEL_PY/iparameters.py b/src/KERNEL_PY/iparameters.py index 8754c93b5..96abfbedc 100755 --- a/src/KERNEL_PY/iparameters.py +++ b/src/KERNEL_PY/iparameters.py @@ -45,7 +45,7 @@ class IParameters: self._ap.SetStrArray(listName, v) pass - v = _ap.GetStrArray(listName) + v = self._ap.GetStrArray(listName) v.append(value) self._ap.SetStrArray(listName, v) return (len(v)-1) @@ -111,7 +111,7 @@ class IParameters: i = 0 while i SALOMEDS_IParameters::getAllParameterNames(const string& entry) if(!_ap->IsSet(entry, PT_STRARRAY)) return v; v = _ap->GetStrArray(entry); int length = v.size(); - for(int i = 0; i SALOMEDS_IParameters::getAllParameterValues(const string& entry) if(!_ap->IsSet(entry, PT_STRARRAY)) return v; v = _ap->GetStrArray(entry); int length = v.size(); - for(int i = 1; i