Last change
on this file since 15393 was 15393, checked in by Mathieu Morlighem, 12 years ago |
NEW: adding Archive/14312-15392 for oecreview
|
File size:
735 bytes
|
Rev | Line | |
---|
[15393] | 1 | Index: ../trunk-jpl/src/m/classes/independent.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/classes/independent.m (revision 15369)
|
---|
| 4 | +++ ../trunk-jpl/src/m/classes/independent.m (revision 15370)
|
---|
| 5 | @@ -59,11 +59,14 @@
|
---|
| 6 | fielddisplay(obj,'fov_forward_indices','indices for fov_foward driver of ADOLC');
|
---|
| 7 | end
|
---|
| 8 | end % }}}
|
---|
| 9 | - function scalar=typetoscalar(obj) % {{{
|
---|
| 10 | + function scalartype=typetoscalar(obj) % {{{
|
---|
| 11 | if strcmpi(obj.type,'scalar'),
|
---|
| 12 | - scalar=0;
|
---|
| 13 | + scalartype=0;
|
---|
| 14 | elseif strcmpi(obj.type,'vertex'),
|
---|
| 15 | - scalar=1;
|
---|
| 16 | + scalartype=1;
|
---|
| 17 | + elseif strcmpi(obj.type,'matrix'),
|
---|
| 18 | + scalartype=1;
|
---|
| 19 | + else error([obj.type ' not supported yet!']);
|
---|
| 20 | end
|
---|
| 21 | end % }}}
|
---|
| 22 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.