Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Save 908,288 bytes by deleting 'const' three times" #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions compact_enc_det/compact_enc_det.cc
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ typedef struct {
uint8 x_stddev; // Standard deviation of byte2 value
uint8 y_stddev; // Standard deviation of byte1 value
int so; // Scaling offset -- add to probabilities below
uint8 b1[256]; // Unigram probability for first byte of aligned bigram
uint8 b2[256]; // Unigram probability for second byte of aligned bigram
uint8 b12[256]; // Unigram probability for cross bytes of aligned bigram
const uint8 b1[256]; // Unigram probability for first byte of aligned bigram
const uint8 b2[256]; // Unigram probability for second byte of aligned bigram
const uint8 b12[256]; // Unigram probability for cross bytes of aligned bigram
} UnigramEntry;

//typedef struct {
Expand Down