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

chore: fix C lint errors #6132 #6151

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static float rand_float( void ) {
*/
static double benchmark( int iterations, int len ) {
double elapsed;
float x[ len ];
double x[ len ];
float v;
double t;
int i;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ static double scale( const double x ) {

int main( void ) {
// Create an input strided array:
double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
const double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };

// Create a mask strided array:
uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
const uint8_t M[] = { 0, 0, 1, 0, 0, 1 };

// Create an output strided array:
double Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
Expand Down
Loading