Commits

Lisandro Dalcin  committed 978e867

Use NULL to initialize function pointer

  • Participants
  • Parent commits 42e3a64

Comments (0)

Files changed (1)

File src/petigabasis.c

   case IGA_BASIS_HIERARCHICAL:
     ComputeBasis = IGA_Basis_Hierarchical; break;
   default:
-    ComputeBasis = 0;
+    ComputeBasis = NULL;
   }
 
   ierr = PetscMalloc1(nel,&offset);CHKERRQ(ierr);