Skip to content

Commit

Permalink
potenial fix for issue introduced by globals support in recent release.
Browse files Browse the repository at this point in the history
  • Loading branch information
kotowicz committed Jan 14, 2014
1 parent 5505182 commit cbed92e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ParforProgress2.m
Expand Up @@ -23,7 +23,7 @@
% delete(ppm);
%
%
% Copyright (c) 2010-2013, Andreas Kotowicz
% Copyright (c) 2010-2014, Andreas Kotowicz

classdef ParforProgress2 < handle

Expand Down
2 changes: 1 addition & 1 deletion ParforProgressClient2.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2013, Andreas Kotowicz
* Copyright (c) 2010-2014, Andreas Kotowicz
*
*
* ideas for this code are from:
Expand Down
2 changes: 1 addition & 1 deletion ParforProgressConsole2.m
Expand Up @@ -3,7 +3,7 @@
% use ParforProgressStarter() instead.
% not using saveobj and loadobj, because old matlab versions have problems
% with it.
% Copyright (c) 2010-2013, Andreas Kotowicz
% Copyright (c) 2010-2014, Andreas Kotowicz

properties (GetAccess = private, SetAccess = private)
message
Expand Down
2 changes: 1 addition & 1 deletion ParforProgressServer2.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2013, Andreas Kotowicz
* Copyright (c) 2010-2014, Andreas Kotowicz
*
*
* ideas for this code are from:
Expand Down
6 changes: 3 additions & 3 deletions ParforProgressStarter2.m
Expand Up @@ -35,7 +35,7 @@
% end
%
%
% Copyright (c) 2010-2013, Andreas Kotowicz
% Copyright (c) 2010-2014, Andreas Kotowicz
%
%%

Expand Down Expand Up @@ -97,12 +97,12 @@
server_class_loaded = exist('ParforProgressServer2', 'class');

if pool_slaves > 0
if java_enabled == 1 && ~server_class_loaded
if java_enabled == 1 %&& ~server_class_loaded
pctRunOnAll(['javaaddpath({''' dir_to_add '''})']);
end
pctRunOnAll(['addpath(''' dir_to_add ''')']);
else
if java_enabled == 1 && ~server_class_loaded
if java_enabled == 1 %&& ~server_class_loaded
javaaddpath({dir_to_add});
end
addpath(dir_to_add);
Expand Down
2 changes: 1 addition & 1 deletion ParforProgressStressTest2.m
Expand Up @@ -3,7 +3,7 @@ function ParforProgressStressTest2(N)
% use this function to determine how many simultaneous connections your
% computer can handle, and adjust the ppm.increment() call accordingly.
%
% Copyright (c) 2010-2013, Andreas Kotowicz
% Copyright (c) 2010-2014, Andreas Kotowicz
%
%%
if nargin < 1
Expand Down

0 comments on commit cbed92e

Please sign in to comment.