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
2c0b3469
Commit
2c0b3469
authored
Jun 10, 2010
by
Sébastien Villemot
Browse files
Estimation DLL, Vector class: fixed bug in the copy constructor
parent
110a33a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
mex/sources/estimation/libmat/Vector.cc
View file @
2c0b3469
...
...
@@ -29,6 +29,7 @@ Vector::Vector(size_t size_arg) : size(size_arg)
Vector
::
Vector
(
const
Vector
&
arg
)
:
size
(
arg
.
size
)
{
data
=
new
double
[
size
];
memcpy
(
data
,
arg
.
data
,
size
*
sizeof
(
double
));
}
...
...
Write
Preview
Markdown
is supported
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