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: remove redundant words #335

Open
wants to merge 1 commit into
base: master
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
2 changes: 1 addition & 1 deletion code_producers/src/c_elements/common/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ json::value_t check_type(std::string prefix, json in){
json::value_t t = check_type(prefix, in[0]);
for (uint i = 1; i < in.size(); i++) {
if (t != check_type(prefix, in[i])) {
fprintf(stderr, "Types are not the same in the the key %s\n",prefix.c_str());
fprintf(stderr, "Types are not the same in the key %s\n",prefix.c_str());
assert(false);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function qualify_input(prefix,input,input1) {
let t = typeof a[0];
for (let i = 1; i<a.length; i++) {
if (typeof a[i] != t){
throw new Error(`Types are not the same in the the key ${prefix}`);
throw new Error(`Types are not the same in the key ${prefix}`);
}
}
if (t == "object") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl WriteC for CreateCmpBucket {
// if the array is complete traverse all its positions
if complete_array {
instructions.push(format!("for (uint i = 0; i < {}; i++) {{", self.number_of_cmp));
// update the value of the the parallel status if it is not uniform parallel using the array aux_parallel
// update the value of the parallel status if it is not uniform parallel using the array aux_parallel
if self.uniform_parallel.is_none(){
instructions.push(format!("bool status_parallel = aux_parallel[i];"));
}
Expand All @@ -237,7 +237,7 @@ impl WriteC for CreateCmpBucket {
instructions.push(format!("uint aux_positions [{}]= {};", self.defined_positions.len(), set_list(self.defined_positions.iter().map(|(x, _y)| *x).collect())));
instructions.push(format!("for (uint i_aux = 0; i_aux < {}; i_aux++) {{", self.defined_positions.len()));
instructions.push(format!("uint i = aux_positions[i_aux];"));
// update the value of the the parallel status if it is not uniform parallel using the array aux_parallel
// update the value of the parallel status if it is not uniform parallel using the array aux_parallel
if self.uniform_parallel.is_none(){
instructions.push(format!("bool status_parallel = aux_parallel[i_aux];"));
}
Expand Down