changeset 514:32a24485f3e8 feature/quantumTriangles

Removed an unnessesary comment
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 07 Jul 2017 13:33:05 +0200
parents bc39bb984d88
children ba92b27da5a0
files +scheme/Schrodinger1dCurve.m
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/+scheme/Schrodinger1dCurve.m	Mon Jun 26 20:15:54 2017 +0200
+++ b/+scheme/Schrodinger1dCurve.m	Fri Jul 07 13:33:05 2017 +0200
@@ -126,12 +126,10 @@
                     switch class(data)
                         case 'double'
                             penalty = @(t) -obj.Hi*sqrt(obj.Ji)*(tau1*data+tau2(obj.a)*data)*sqrt(obj.Ji);
-                            %                      case 'function_handle'
-                            %                           penalty = @(t)-obj.Hi*tau*data(t);
+
                         otherwise
                             error('Weird data argument!')
-                    end
-                    
+                    end               
                     % Unknown, boundary condition
                 otherwise
                     error('No such boundary condition: type = %s',type);