Re: [petsc-dev] should this be moved now?
1 Mar
2013
1 Mar
'13
6:39 a.m.
On Thu, Feb 28, 2013 at 3:17 PM, Barry Smith <[email protected]> wrote:
With the introduction of PetscPowRealInt() should this be moved to petscmath.h and renamed ?
We can just replace calls to this function with calls to PetscPowRealInt().
/* C++ does not promote int64_t to scalar or int32_t for std::pow() */ static PetscScalar Pow(PetscScalar b,PetscInt p) { return PetscPowScalar(b,(int)p); }
4910
Age (days ago)
4910
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown