comparison SolutionFile.m @ 19:1644d000c304

Fixed bug in SolutionsFile.m. Updated calculateSolution to also save a function handle to the Discr constructor.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Sep 2015 17:10:51 +0200
parents 4d8068cb5c65
children 30b6e72db1a3
comparison
equal deleted inserted replaced
18:4d8068cb5c65 19:1644d000c304
66 if ~obj.isKey(key); 66 if ~obj.isKey(key);
67 error('No such key: %s', struct2string(key)); 67 error('No such key: %s', struct2string(key));
68 end 68 end
69 69
70 I = obj.getIndex(key); 70 I = obj.getIndex(key);
71 e = getEntryByIndex(I); % unpack the cell array 71 e = obj.getEntryByIndex(I); % unpack the cell array
72 end 72 end
73 73
74 74
75 % Handles indexing weirdness of matfile class 75 % Handles indexing weirdness of matfile class
76 function e = getEntryByIndex(obj, I) 76 function e = getEntryByIndex(obj, I)