diff options
author | Vincent COUVERT <vincent.couvert@scilab.org> | 2010-04-27 14:48:18 +0200 |
---|---|---|
committer | Vincent COUVERT <vincent.couvert@scilab.org> | 2010-04-27 14:48:18 +0200 |
commit | 2bbc8f0389b89329c200cd2b2aff643ffda4e9b1 (patch) | |
tree | 6bc9ca3c4578d0d1614f4a74bdf42c1fc2421ad3 | |
parent | 868297e1361cf2c86bcd073c10df2634db7c14e7 (diff) | |
download | scilab-2bbc8f0389b89329c200cd2b2aff643ffda4e9b1.zip scilab-2bbc8f0389b89329c200cd2b2aff643ffda4e9b1.tar.gz |
Bug 6864 fixed
Change-Id: Ib0dbfb229bb3f6eb69ff0b0a6d1c783277a11246
-rw-r--r-- | scilab/CHANGES_5.3.X | 2 | ||||
-rw-r--r-- | scilab/modules/data_structures/src/c/hmops.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scilab/CHANGES_5.3.X b/scilab/CHANGES_5.3.X index 6f79333..502540e 100644 --- a/scilab/CHANGES_5.3.X +++ b/scilab/CHANGES_5.3.X | |||
@@ -236,6 +236,8 @@ Bug fixes: | |||
236 | * bug 6830 fixed - C2F(scistring) in stack2.c was broken for macro names of | 236 | * bug 6830 fixed - C2F(scistring) in stack2.c was broken for macro names of |
237 | exactly 2 characters. | 237 | exactly 2 characters. |
238 | 238 | ||
239 | * bug 6864 fixed - Error messages have been fixed in data_structures module. | ||
240 | |||
239 | * bug 6889 fixed - 'fscanfMat' crashed with wrong formatted files. | 241 | * bug 6889 fixed - 'fscanfMat' crashed with wrong formatted files. |
240 | 242 | ||
241 | * bug 6891 fixed - 'whos' did not display global variables. | 243 | * bug 6891 fixed - 'whos' did not display global variables. |
diff --git a/scilab/modules/data_structures/src/c/hmops.c b/scilab/modules/data_structures/src/c/hmops.c index 8273613..73e2c23 100644 --- a/scilab/modules/data_structures/src/c/hmops.c +++ b/scilab/modules/data_structures/src/c/hmops.c | |||
@@ -822,14 +822,14 @@ int C2F(intihm)() | |||
822 | 822 | ||
823 | if ( Rhs < 3 ) | 823 | if ( Rhs < 3 ) |
824 | { | 824 | { |
825 | Scierror(999,_(" An hypermatrix insertion must have at least 3 arguments ")); | 825 | Scierror(999,_(" An hypermatrix insertion must have at least 3 arguments. ")); |
826 | return 0; | 826 | return 0; |
827 | }; | 827 | }; |
828 | nb_index_vectors = Rhs - 2; | 828 | nb_index_vectors = Rhs - 2; |
829 | 829 | ||
830 | if ( ! get_hmat(Rhs, &A) ) | 830 | if ( ! get_hmat(Rhs, &A) ) |
831 | { | 831 | { |
832 | Scierror(999,_(" Argument is not an hypermatrix ")); | 832 | Scierror(999,_(" Argument is not an hypermatrix. ")); |
833 | return 0; | 833 | return 0; |
834 | } | 834 | } |
835 | else if ( A.type == NOT_REAL_or_CMPLX_or_BOOL_or_INT || A.type == OLD_HYPERMAT ) | 835 | else if ( A.type == NOT_REAL_or_CMPLX_or_BOOL_or_INT || A.type == OLD_HYPERMAT ) |