changeset 472:1dcac646c514 feature/sublassable_cellarray

Add some missing semicolon
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 02 Aug 2017 09:34:26 +0200
parents c78249d8e915
children 605a8c075388
files Cell.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
diff -r c78249d8e915 -r 1dcac646c514 Cell.m
--- a/Cell.m	Wed Aug 02 08:48:56 2017 +0200
+++ b/Cell.m	Wed Aug 02 09:34:26 2017 +0200
@@ -6,7 +6,7 @@
         function obj = Cell(data)
             if ~iscell(data)
                 class(data)
-                error('Input argument to Cell must be a cell array')
+                error('Input argument to Cell must be a cell array');
             end
 
             obj.data = data;
@@ -42,7 +42,7 @@
                 case '.'
                     B = builtin('subsref',A, S);
                 otherwise
-                    error('impossible')
+                    error('unreachable');
             end
         end