Skip to content

Commit 855c835

Browse files
author
John Eslick
committed
Fix misplaced parenthesis
1 parent 50aee50 commit 855c835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

petsc/petsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ char **transform_args(int argc, char** argv, int *size){
351351
int i=0, j=0, k=0, h=0; // another counter
352352

353353
for(i=0; i<argc; ++i){
354-
if(strcmp(argv[i], "-v"==0)){
354+
if(strcmp(argv[i], "-v") == 0){
355355
strcpy(argv2[i], "-version");
356356
++k;
357357
continue;

0 commit comments

Comments
 (0)