Skip to content

Commit 5121d03

Browse files
committed
Fix warnings
1 parent 009a93b commit 5121d03

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/fortran/lib/mod_misc_maths.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pure function triangular_number(n) result(output)
4747
integer, intent(in) :: n
4848
!! The index of the triangular number to return.
4949

50-
real(real32) :: output
50+
integer :: output
5151
!! The nth triangular number.
5252

5353
output = n * ( n + 1 ) / 2

src/wrapper/f90wrap_mod_generator.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ subroutine f90wrap_raffle_generator_type__get__host_defined( &
298298
integer, intent(in) :: this(2)
299299
type(raffle_generator_type_ptr_type) :: this_ptr
300300
logical, intent(out) :: f90wrap_host_is_defined
301-
type(basis_type_ptr_type) :: host_ptr
302301

303302
this_ptr = transfer(this, this_ptr)
304303
f90wrap_host_is_defined = this_ptr%p%distributions%host_system%defined

0 commit comments

Comments
 (0)