Commits

Jed Brown committed 13f7067 Merge

Merge branch 'jed/remove-dynamic-loading-option' into next

* jed/remove-dynamic-loading-option:
Sys: PetscContainerCreate must call PetscSysInitializePackage

  • Participants
  • Parent commits 7e25b11, d2bbedb
  • Branches jed/next-seaice, knepley/fix-quadrature-order 3
    1. madams/sr-driver
    2. madams/sr1
    3. next-oct-2014

Comments (0)

Files changed (1)

src/sys/objects/inherit.c

 
   PetscFunctionBegin;
   PetscValidPointer(container,2);
+  ierr = PetscSysInitializePackage();CHKERRQ(ierr);
   ierr = PetscHeaderCreate(contain,_p_PetscContainer,PetscInt,PETSC_CONTAINER_CLASSID,"PetscContainer","Container","Sys",comm,PetscContainerDestroy,0);CHKERRQ(ierr);
   *container = contain;
   PetscFunctionReturn(0);