diff m-toolbox/classes/+utils/@models/mainFnc.m @ 45:a59cdb8aaf31 database-connection-manager

Merge
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:22 +0100
parents bc767aaa99a8
children
line wrap: on
line diff
--- a/m-toolbox/classes/+utils/@models/mainFnc.m	Mon Dec 05 18:04:34 2011 +0100
+++ b/m-toolbox/classes/+utils/@models/mainFnc.m	Tue Dec 06 19:07:22 2011 +0100
@@ -20,7 +20,7 @@
 %             getVersion - a function handle to the getVersion function
 %           versionTable - a function handle to the versionTable function
 % 
-% VERSION: $Id: mainFnc.m,v 1.3 2011/04/29 14:25:14 hewitson Exp $
+% VERSION: $Id: mainFnc.m,v 1.4 2011/12/02 09:03:20 hewitson Exp $
 % 
 % 
 function varargout = mainFnc(inputs, modelFilename, getModelDescription, getModelDocumentation, getVersion, versionTable)
@@ -39,13 +39,12 @@
   end
   
   % Build the object
-  hpl = copy(pl, 1);
   out = fcn(pl);
   
   % Set the method version string in the minfo object
   if ~isempty(constructorInfo) && utils.helper.isSubclassOf(class(out), 'ltpda_uoh')
     % If this is a user-call via a constructor, then we add history
-    out = addHistoryStep(out, constructorInfo, hpl);
+    out = addHistoryStep(out, constructorInfo, pl);
   end
   
   if nargout > 0