--- a
+++ b/combinedDeepLearningActiveContour/minFunc/precondDiag.m
@@ -0,0 +1,2 @@
+function [y] = precondDiag(r,D)
+y = D.*r;
\ No newline at end of file