From: John W. e. <jw...@us...> - 2006-05-19 06:58:56
|
Update of /cvsroot/octave/octave-forge/main/comm In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7958/main/comm Modified Files: gf.cc Log Message: Index: gf.cc =================================================================== RCS file: /cvsroot/octave/octave-forge/main/comm/gf.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- gf.cc 12 Oct 2005 18:47:48 -0000 1.14 +++ gf.cc 19 May 2006 06:58:50 -0000 1.15 @@ -67,7 +67,7 @@ "@end deftypefn") { if (args.length() != 1) - print_usage("isgalois"); + print_usage (); else if (!galois_type_loaded) // Can be of Galois type if the type isn't load :-/ return octave_value(0.); @@ -112,7 +112,7 @@ int primpoly = 0; if ( nargin == 0 ) { - print_usage ("gf"); + print_usage (); return retval; } @@ -236,7 +236,7 @@ else if (nargin == 2 && args(0).is_defined () && args(1).is_defined ()) retval = make_gdiag (args(0), args(1)); else - print_usage ("gdiag"); + print_usage (); return retval; } @@ -284,7 +284,7 @@ if (nargin != 2 && nargin !=3) { error("greshape (a, m, m) or greshape (a, size(b))"); - print_usage("greshape"); + print_usage (); } else { int mr = 0, mc = 0; @@ -358,7 +358,7 @@ } \ } \ else \ - print_usage (#FCN); \ + print_usage (); \ \ return retval @@ -416,7 +416,7 @@ int nargin = args.length (); if (nargin != 1) { - print_usage("gsqrt"); + print_usage (); return retval; } @@ -446,7 +446,7 @@ int nargin = args.length (); if (nargin != 1) { - print_usage("glog"); + print_usage (); return retval; } @@ -477,7 +477,7 @@ int nargin = args.length (); if (nargin != 1) { - print_usage("gexp"); + print_usage (); return retval; } @@ -683,7 +683,7 @@ int nargin = args.length (); if (nargin < 3 || nargin > 4) { - print_usage ("gfilter"); + print_usage (); return retval; } @@ -837,7 +837,7 @@ if (nargin != 1 || nargout > 3) { - print_usage ("glu"); + print_usage (); return retval; } @@ -908,7 +908,7 @@ if (nargin != 1) { - print_usage ("ginv"); + print_usage (); return retval; } @@ -985,7 +985,7 @@ int nargin = args.length (); if (nargin != 1) { - print_usage ("gdet"); + print_usage (); return retval; } @@ -1034,7 +1034,7 @@ int nargin = args.length (); if (nargin != 1) { - print_usage ("grank"); + print_usage (); return retval; } @@ -1154,7 +1154,7 @@ int nargin = args.length (); if ((nargin < 3) || (nargin > 5)) { - print_usage ("rsenc"); + print_usage (); return retval; } @@ -1219,7 +1219,7 @@ } else { if (args(i).type_id () == octave_galois::static_type_id ()) { if (have_genpoly) { - print_usage ("rsenc"); + print_usage (); return retval; } genpoly = ((const octave_galois&) args(i).get_rep()).galois_value (); @@ -1229,7 +1229,7 @@ } else { if (have_genpoly) { if (prim != 0) { - print_usage ("rsenc"); + print_usage (); return retval; } prim = args(i).nint_value(); @@ -1621,7 +1621,7 @@ int nargin = args.length (); if ((nargin < 3) || (nargin > 5)) { - print_usage ("rsdec"); + print_usage (); return retval; } @@ -1688,14 +1688,14 @@ } else { if (args(i).type_id () == octave_galois::static_type_id ()) { if (have_genpoly) { - print_usage ("rsdec"); + print_usage (); return retval; } genpoly = ((const octave_galois&) args(i).get_rep()).galois_value (); } else { if (have_genpoly) { if (prim != 0) { - print_usage ("rsdec"); + print_usage (); return retval; } prim = args(i).nint_value(); @@ -1885,7 +1885,7 @@ int nargin = args.length (); if ((nargin < 3) || (nargin > 5)) { - print_usage ("bchenco"); + print_usage (); return retval; } @@ -2151,7 +2151,7 @@ int nargin = args.length (); if ((nargin < 3) || (nargin > 5)) { - print_usage ("bchdeco"); + print_usage (); return retval; } |