Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
faust group
faust
Commits
e1ca0733
Commit
e1ca0733
authored
3 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Fix a bug introduced by 5676f1 in TransformHelperGen::eval_sliced_Transform.
parent
654bad84
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/faust_linear_operator/faust_TransformHelperGen.hpp
+1
-1
1 addition, 1 deletion
src/faust_linear_operator/faust_TransformHelperGen.hpp
with
1 addition
and
1 deletion
src/faust_linear_operator/faust_TransformHelperGen.hpp
+
1
−
1
View file @
e1ca0733
...
@@ -337,7 +337,7 @@ namespace Faust
...
@@ -337,7 +337,7 @@ namespace Faust
if
(
first_fact_slice
.
start_id
!=
0
||
first_fact_slice
.
end_id
!=
first_fact
->
getNbRow
())
if
(
first_fact_slice
.
start_id
!=
0
||
first_fact_slice
.
end_id
!=
first_fact
->
getNbRow
())
// the row slice is smaller than the first factor num of rows, replace the first factor
// the row slice is smaller than the first factor num of rows, replace the first factor
this
->
transform
->
replace
(
first_fact
->
get_rows
(
first_fact_slice
.
start_id
,
first_fact_slice
.
size
()),
0
);
this
->
transform
->
replace
(
first_fact
->
get_rows
(
first_fact_slice
.
start_id
,
first_fact_slice
.
size
()),
0
);
auto
last_fact
=
factors
[
size
()
-
1
]
;
// if first_fact is the last fact, it may have changed since first_fact was read
auto
last_fact
=
*
(
transform
->
end
()
-
1
)
;
// if first_fact is
also
the last fact, it may have changed since first_fact was read
if
(
last_fact_slice
.
start_id
!=
0
||
last_fact_slice
.
end_id
!=
last_fact
->
getNbCol
())
if
(
last_fact_slice
.
start_id
!=
0
||
last_fact_slice
.
end_id
!=
last_fact
->
getNbCol
())
// the column slice is smaller than the last factor num of cols, replace the first factor
// the column slice is smaller than the last factor num of cols, replace the first factor
this
->
transform
->
replace
(
last_fact
->
get_cols
(
last_fact_slice
.
start_id
,
last_fact_slice
.
size
()),
size
()
-
1
);
this
->
transform
->
replace
(
last_fact
->
get_cols
(
last_fact_slice
.
start_id
,
last_fact_slice
.
size
()),
size
()
-
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment