Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
7c2de197
Commit
7c2de197
authored
Nov 18, 2010
by
Stéphane Adjemian (Charybdis)
Browse files
Merge remote branch 'origin/master'
parents
ccf778e6
3459e1ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
dynare.el
View file @
7c2de197
...
...
@@ -15,7 +15,7 @@
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with
GNU Emacs; see the file COPYING
. If not, see
;; along with
this program
. If not, see
;; <http://www.gnu.org/licenses/>.
;; Keywords: dynare
...
...
license.txt
View file @
7c2de197
...
...
@@ -320,5 +320,22 @@ License: GPL-3+
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, see
along with this program. If not, see
<http://www.gnu.org/licenses/>.
Files: mex/sources/libslicot/*
Copyright: 2002-2009, NICONET e.V.
License: GPL-2+
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 2 of
the License, or (at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
mex/build/octave/mex.am
View file @
7c2de197
...
...
@@ -5,7 +5,7 @@ CPPFLAGS += -I$(top_srcdir)/../../sources
DEFS += -DOCTAVE_MEX_FILE
CFLAGS += $(shell $(MKOCTFILE) -p CPICFLAG)
FFLAGS += $(shell $(MKOCTFILE) -p FPICFLAG)
CXXFLAGS += $(shell $(MKOCTFILE) -p CXXPICFLAG)
LDFLAGS += $(shell $(MKOCTFILE) -p DL_LDFLAGS)
...
...
preprocessor/DynamicModel.cc
View file @
7c2de197
...
...
@@ -3111,10 +3111,14 @@ DynamicModel::computeDerivIDs()
int
lag
=
it
->
second
;
SymbolType
type
=
symbol_table
.
getType
(
it
->
first
);
// Setting maximum and minimum lags
if
(
max_lead
<
lag
)
/* Setting maximum and minimum lags.
We don't want these to be affected by lead/lags on parameters: they
are accepted for facilitating variable flipping, but are simply
ignored. */
if
(
max_lead
<
lag
&&
type
!=
eParameter
)
max_lead
=
lag
;
else
if
(
-
max_lag
>
lag
)
else
if
(
-
max_lag
>
lag
&&
type
!=
eParameter
)
max_lag
=
-
lag
;
switch
(
type
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment