Skip to content

Commit 6ccd366

Browse files
wclodius2jvdp1
andauthored
Update src/stdlib_sorting_sort.fypp
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 8d91761 commit 6ccd366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_sorting_sort.fypp

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ contains
248248

249249
integer(int32) :: depth_limit
250250

251-
depth_limit = 2 * int( floor( log( real( size( array, kind=int64 ), &
251+
depth_limit = 2 * int( floor( log( real( size( array, kind=int_size ), &
252252
kind=dp) ) / log(2.0_dp) ), &
253253
kind=int32 )
254254
call introsort(array, depth_limit)

0 commit comments

Comments
 (0)