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
5a961595
Commit
5a961595
authored
Nov 24, 2010
by
Sébastien Villemot
Browse files
Kronecker DLL: fix minor issue (was creating a lot of warnings under Octave)
parent
6c22d398
Changes
1
Hide whitespace changes
Inline
Side-by-side
mex/sources/kronecker/A_times_B_kronecker_C.cc
View file @
5a961595
...
...
@@ -152,12 +152,14 @@ mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
int
numthreads
;
A
=
mxGetPr
(
prhs
[
0
]);
B
=
mxGetPr
(
prhs
[
1
]);
numthreads
=
(
int
)
mxGetScalar
(
prhs
[
2
]);
if
(
nrhs
==
4
)
{
C
=
mxGetPr
(
prhs
[
2
]);
numthreads
=
(
int
)
mxGetScalar
(
prhs
[
3
]);
}
else
numthreads
=
(
int
)
mxGetScalar
(
prhs
[
2
]);
// Initialization of the ouput:
double
*
D
;
if
(
nrhs
==
4
)
...
...
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