From d41306f0c126a7967b80384ff60790eff63785eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 3 Sep 2021 17:18:20 +0200
Subject: [PATCH] Remove DMM from contrib/

This code was never integrated in Dynare. Also, the authors would like to
release a new version soon, and they prefer that we remove this old version
from our repositories.

Closes: #568
---
 .gitmodules |  3 ---
 contrib/dmm |  1 -
 license.txt | 27 ---------------------------
 3 files changed, 31 deletions(-)
 delete mode 160000 contrib/dmm

diff --git a/.gitmodules b/.gitmodules
index ccbe16519d..2cc13d27ea 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,9 +7,6 @@
 [submodule "contrib/ms-sbvar/TZcode"]
 	path = contrib/ms-sbvar/TZcode
 	url = ../../contrib/TZcode.git
-[submodule "contrib/dmm"]
-	path = contrib/dmm
-	url = ../../contrib/dmm.git
 [submodule "matlab/utilities/tests"]
 	path = matlab/utilities/tests
 	url = ../../Dynare/m-unit-tests.git
diff --git a/contrib/dmm b/contrib/dmm
deleted file mode 160000
index ea7846fd71..0000000000
--- a/contrib/dmm
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit ea7846fd71d32851877cf60008ac5046b51a7a51
diff --git a/license.txt b/license.txt
index b004071080..3f412a4415 100644
--- a/license.txt
+++ b/license.txt
@@ -455,33 +455,6 @@ Files: contrib/ms-sbvar/TZcode/MatlabFiles/qplot2.m
 Copyright: 1997-2012 Clark A. Burdick
 License: GPL-3+
 
-Files: contrib/dmm/*
-Copyright: 2010-2014 European Commission
-           2006-2012 Dynare Team
-License: GPL-3+
-
-Files: contrib/dmm/randlib/*
-Copyright: none
-License: public-domain-dmm
- We place the Randlib code that we have written in the public domain.  
- .
-                                 NO WARRANTY
- .    
-     WE PROVIDE ABSOLUTELY  NO WARRANTY  OF ANY  KIND  EITHER  EXPRESSED OR
-     IMPLIED,  INCLUDING BUT   NOT LIMITED TO,  THE  IMPLIED  WARRANTIES OF
-     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK
-     AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS  WITH YOU.  SHOULD
-     THIS PROGRAM PROVE  DEFECTIVE, YOU ASSUME  THE COST  OF  ALL NECESSARY
-     SERVICING, REPAIR OR CORRECTION.
- .    
-     IN NO  EVENT  SHALL THE UNIVERSITY  OF TEXAS OR  ANY  OF ITS COMPONENT
-     INSTITUTIONS INCLUDING M. D.   ANDERSON HOSPITAL BE LIABLE  TO YOU FOR
-     DAMAGES, INCLUDING ANY  LOST PROFITS, LOST MONIES,   OR OTHER SPECIAL,
-     INCIDENTAL   OR  CONSEQUENTIAL DAMAGES   ARISING   OUT  OF  THE USE OR
-     INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA OR
-     ITS ANALYSIS BEING  RENDERED INACCURATE OR  LOSSES SUSTAINED  BY THIRD
-     PARTIES) THE PROGRAM.
-
 License: BSD-2-clause
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are
-- 
GitLab