We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 009a93b commit 5121d03Copy full SHA for 5121d03
2 files changed
src/fortran/lib/mod_misc_maths.f90
@@ -47,7 +47,7 @@ pure function triangular_number(n) result(output)
47
integer, intent(in) :: n
48
!! The index of the triangular number to return.
49
50
- real(real32) :: output
+ integer :: output
51
!! The nth triangular number.
52
53
output = n * ( n + 1 ) / 2
src/wrapper/f90wrap_mod_generator.f90
@@ -298,7 +298,6 @@ subroutine f90wrap_raffle_generator_type__get__host_defined( &
298
integer, intent(in) :: this(2)
299
type(raffle_generator_type_ptr_type) :: this_ptr
300
logical, intent(out) :: f90wrap_host_is_defined
301
- type(basis_type_ptr_type) :: host_ptr
302
303
this_ptr = transfer(this, this_ptr)
304
f90wrap_host_is_defined = this_ptr%p%distributions%host_system%defined
0 commit comments