Mercurial > octave
changeset 24446:4ca5c9f899d3
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 21 Dec 2017 12:47:20 -0500 |
parents | fe54e9633815 |
children | b431e2719000 |
files | libgui/graphics/Figure.cc libinterp/corefcn/graphics.cc libinterp/parse-tree/jit-typeinfo.cc libinterp/parse-tree/jit-util.h libinterp/parse-tree/pt-jit.h m4/acinclude.m4 scripts/plot/util/figure.m |
diffstat | 7 files changed, 26 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/graphics/Figure.cc Thu Dec 21 12:35:38 2017 -0500 +++ b/libgui/graphics/Figure.cc Thu Dec 21 12:47:20 2017 -0500 @@ -701,7 +701,7 @@ { figure::properties& fp = properties<figure> (); octave_value fnum = fp.get___myhandle__ ().as_octave_value (); - + Ffeval (ovl ("close", fnum)); }
--- a/libinterp/corefcn/graphics.cc Thu Dec 21 12:35:38 2017 -0500 +++ b/libinterp/corefcn/graphics.cc Thu Dec 21 12:47:20 2017 -0500 @@ -3309,7 +3309,7 @@ { if (is_handle_visible ()) return; - + // This object should not be the root "callbackobject" graphics_object rt = gh_manager::get_object (0); octave_value cbo = rt.get ("callbackobject"); @@ -3338,7 +3338,7 @@ } /* -## test current figure and current axes have visible handles +## test current figure and current axes have visible handles %!test %! hf1 = figure ("visible", "off"); %! hf2 = figure ("visible", "off"); @@ -3358,7 +3358,7 @@ */ /* -## test current callback object have visible handle +## test current callback object have visible handle %!test %! hf = figure ("visible", "off"); %! hax = axes ();
--- a/libinterp/parse-tree/jit-typeinfo.cc Thu Dec 21 12:35:38 2017 -0500 +++ b/libinterp/parse-tree/jit-typeinfo.cc Thu Dec 21 12:47:20 2017 -0500 @@ -1200,7 +1200,7 @@ // jit_type: "matrix" < "any" matrix_t = llvm::StructType::create (context, "matrix"); { - llvm::Type *refcount_t = llvm::Type::getIntNTy (context, sizeof(int) * 8); + llvm::Type *refcount_t = llvm::Type::getIntNTy (context, sizeof(int) * 8); llvm::Type *matrix_contents[5]; matrix_contents[0] = refcount_t->getPointerTo (); matrix_contents[1] = scalar_t->getPointerTo ();
--- a/libinterp/parse-tree/jit-util.h Thu Dec 21 12:35:38 2017 -0500 +++ b/libinterp/parse-tree/jit-util.h Thu Dec 21 12:47:20 2017 -0500 @@ -60,14 +60,14 @@ class LLVMContext; class Type; class StructType; - class FunctionType; + class FunctionType; class Twine; class GlobalValue; class GlobalVariable; class TerminatorInst; class PHINode; class TargetMachine; - + class ConstantFolder; template <bool preserveNames>
--- a/libinterp/parse-tree/pt-jit.h Thu Dec 21 12:35:38 2017 -0500 +++ b/libinterp/parse-tree/pt-jit.h Thu Dec 21 12:47:20 2017 -0500 @@ -542,7 +542,7 @@ // to change anything in the module... void finalizeObject (void); - private: + private: void do_add_global_mapping (const llvm::GlobalValue* gv, void* p) const; llvm::Module *module;
--- a/m4/acinclude.m4 Thu Dec 21 12:35:38 2017 -0500 +++ b/m4/acinclude.m4 Thu Dec 21 12:47:20 2017 -0500 @@ -789,10 +789,10 @@ FFLAGS="$FFLAGS $F77_INTEGER_8_FLAG" AC_LANG_PUSH(Fortran 77) AC_RUN_IFELSE([[ - program bug_52425 + program bug_52425 c integer maxn, maxnev, maxncv, ldv - parameter (maxn=256, maxnev=10, maxncv=25, + parameter (maxn=256, maxnev=10, maxncv=25, $ ldv=maxn ) c Double precision @@ -803,30 +803,30 @@ integer iparam(11), ipntr(11) c character bmat*1, which*2 - integer ido, n, nev, ncv, lworkl, info, ierr, j, + integer ido, n, nev, ncv, lworkl, info, ierr, j, & nx, nconv, maxitr, mode, ishfts logical rvec - Double precision + Double precision & tol, sigma c Double precision & zero parameter (zero = 0.0D+0) c - Double precision + Double precision & dnrm2 external dnrm2, daxpy c intrinsic abs c n = 20 - nev = 4 - ncv = 20 + nev = 4 + ncv = 20 bmat = 'I' which = 'BE' c lworkl = ncv*(ncv+8) - tol = zero + tol = zero info = 1 do j = 1,n resid (j) = 1.0d0 @@ -837,28 +837,28 @@ maxitr = 300 mode = 1 c - iparam(1) = ishfts - iparam(3) = maxitr - iparam(7) = mode + iparam(1) = ishfts + iparam(3) = maxitr + iparam(7) = mode c 10 continue c - call dsaupd ( ido, bmat, n, which, nev, tol, resid, + call dsaupd ( ido, bmat, n, which, nev, tol, resid, & ncv, v, ldv, iparam, ipntr, workd, workl, & lworkl, info ) c if (ido .eq. -1 .or. ido .eq. 1) then call av (n, workd(ipntr(1)), workd(ipntr(2))) go to 10 - end if + end if c if ( info .lt. 0 ) then stop 1 - else + else rvec = .false. c - call dseupd ( rvec, 'All', select, d, v, ldv, sigma, - & bmat, n, which, nev, tol, resid, ncv, v, ldv, + call dseupd ( rvec, 'All', select, d, v, ldv, sigma, + & bmat, n, which, nev, tol, resid, ncv, v, ldv, & iparam, ipntr, workd, workl, lworkl, ierr ) c if ( ierr .ne. 0) then @@ -874,7 +874,7 @@ 20 continue c c | Litmus test: return 1 or 0 based on returned eigenvalue -c +c if (abs(d(1,1) - 2.0810) > 1.0d-4) then stop 1 else
--- a/scripts/plot/util/figure.m Thu Dec 21 12:35:38 2017 -0500 +++ b/scripts/plot/util/figure.m Thu Dec 21 12:47:20 2017 -0500 @@ -93,7 +93,7 @@ if (strcmp (get (f, "handlevisibility"), "on")) set (0, "currentfigure", f); endif - + ## When switching to figure N, make figure visible and on top of stack, ## unless visibility is explicitly switched off. if (! init_new_figure && ! any (strcmpi (varargin(1:2:end), "visible")