Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
398b9b59
authored
Feb 22, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: fixed initalization of input
parent
e471ca13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
dataflow_cpp/include/embb/dataflow/internal/in.h
+4
-1
No files found.
dataflow_cpp/include/embb/dataflow/internal/in.h
View file @
398b9b59
...
@@ -53,6 +53,9 @@ class In {
...
@@ -53,6 +53,9 @@ class In {
~
In
()
{
~
In
()
{
if
(
NULL
!=
values_
)
{
if
(
NULL
!=
values_
)
{
for
(
int
ii
=
0
;
ii
<
slices_
;
ii
++
)
{
values_
[
ii
].
~
SignalType
();
}
embb
::
base
::
Allocation
::
Free
(
values_
);
embb
::
base
::
Allocation
::
Free
(
values_
);
}
}
}
}
...
@@ -78,7 +81,7 @@ class In {
...
@@ -78,7 +81,7 @@ class In {
embb
::
base
::
Allocation
::
Allocate
(
embb
::
base
::
Allocation
::
Allocate
(
sizeof
(
SignalType
)
*
slices_
));
sizeof
(
SignalType
)
*
slices_
));
for
(
int
ii
=
0
;
ii
<
slices_
;
ii
++
)
{
for
(
int
ii
=
0
;
ii
<
slices_
;
ii
++
)
{
values_
[
ii
]
=
SignalType
();
new
(
&
values_
[
ii
])
SignalType
();
}
}
}
}
...
...
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