comparison src/mark.cc @ 268:61830a4f9ab9

Improve formatting
author Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
date Thu, 14 Aug 2014 12:26:55 +0200
parents 53039ac90368
children
comparison
equal deleted inserted replaced
267:53039ac90368 268:61830a4f9ab9
31 @end deftypefn") 31 @end deftypefn")
32 { 32 {
33 int nargin = args.length (); 33 int nargin = args.length ();
34 octave_value retval; 34 octave_value retval;
35 35
36 if (nargin < 3 || nargin > 3 ||nargout > 1) 36 if (nargin < 3 || nargin > 3 || nargout > 1)
37 print_usage (); 37 { print_usage (); }
38 else 38 else
39 { 39 {
40 if (! meshfunction_type_loaded) 40 if (! meshfunction_type_loaded)
41 { 41 {
42 meshfunction::register_type (); 42 meshfunction::register_type ();
68 sdrep->mark (out, number); 68 sdrep->mark (out, number);
69 retval = new meshfunction (mf.get_str (), out); 69 retval = new meshfunction (mf.get_str (), out);
70 } 70 }
71 } 71 }
72 else 72 else
73 error ("invalid input arguments"); 73 { error ("invalid input arguments"); }
74 } 74 }
75 75
76 return retval; 76 return retval;
77 } 77 }