Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
037c84c5
Commit
037c84c5
authored
Feb 02, 2018
by
Massive
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing bad error check
parent
77c29487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/CODING/ldpc_encoder.c
openair1/PHY/CODING/ldpc_encoder.c
+2
-2
No files found.
openair1/PHY/CODING/ldpc_encoder.c
View file @
037c84c5
...
...
@@ -5287,7 +5287,7 @@ int ldpc_encoder(unsigned char *test_input,unsigned char *channel_input,short bl
break;
}
}
if (
(Kb*Zc)!=block_length
) {
if (
Zc==0
) {
printf("Cannot determine lift size Zc\n");
return(-1);
}
...
...
@@ -5321,7 +5321,7 @@ int ldpc_encoder(unsigned char *test_input,unsigned char *channel_input,short bl
return(-1);
}
}
else if (BG==
1
) {
else if (BG==
2
) {
if (encode_parity_check_part_orig(c, d, BG, Zc, Kb)!=0) {
printf("Problem with encoder\n");
return(-1);
...
...
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