Skip to content
Snippets Groups Projects
  • Mark OLESEN's avatar
    ec4aea93
    COMP: mismatch of List<label> and List<PetscInt> (fixes #29) · ec4aea93
    Mark OLESEN authored
    - fix constness on updateMat
    
    COMP: use std::max_element instead of Foam::max(List..)
    
    - PetscInt may be an unusually sized type and the Foam::max(List...)
      convenience field function may fail.
      Eg, if PetscInt is something like 'long long' and there is
      no pTraits<long long>::min, max defined.
    
    COMP: add additional library link dependencies
    
    See merge request !9
    ec4aea93
    History
    COMP: mismatch of List<label> and List<PetscInt> (fixes #29)
    Mark OLESEN authored
    - fix constness on updateMat
    
    COMP: use std::max_element instead of Foam::max(List..)
    
    - PetscInt may be an unusually sized type and the Foam::max(List...)
      convenience field function may fail.
      Eg, if PetscInt is something like 'long long' and there is
      no pTraits<long long>::min, max defined.
    
    COMP: add additional library link dependencies
    
    See merge request !9