diff +sbp/D4Compatible.m @ 707:0de70ec8bf60 feature/quantumTriangles

merge with feature/optim
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 10 Nov 2017 14:22:56 +0100
parents e1d11b6a68d8
children
line wrap: on
line diff
--- a/+sbp/D4Compatible.m	Thu Oct 05 18:04:23 2017 +0200
+++ b/+sbp/D4Compatible.m	Fri Nov 10 14:22:56 2017 +0100
@@ -28,8 +28,8 @@
 
     methods
         function obj = D4Compatible(m,lim,order)
-            
-            
+
+
             x_l = lim{1};
             x_r = lim{2};
             L = x_r-x_l;
@@ -68,6 +68,10 @@
 
 
         end
+
+        function str = string(obj)
+            str = [class(obj) '_' num2str(obj.order)];
+        end
     end