Skip to content

Commit 4598eec

Browse files
committed
removed dependency of clip function by stdlib_strings.f90
1 parent ffcb7e4 commit 4598eec

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Makefile.manual

+1-2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,5 @@ stdlib_stats_distribution_PRNG.o: \
115115
stdlib_string_type.o: stdlib_ascii.o \
116116
stdlib_kinds.o
117117
stdlib_strings.o: stdlib_ascii.o \
118-
stdlib_string_type.o \
119-
stdlib_math.o
118+
stdlib_string_type.o
120119
stdlib_math.o: stdlib_kinds.o

src/stdlib_strings.f90

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
module stdlib_strings
77
use stdlib_ascii, only : whitespace
88
use stdlib_string_type, only : string_type, char, verify
9-
use stdlib_math, only: clip
109
implicit none
1110
private
1211

@@ -321,7 +320,7 @@ pure function slice_char(string, first, last, stride) result(sliced_string)
321320
integer :: first_index, last_index, stride_vector, strides_taken, length_string, i, j
322321
character(len=:), allocatable :: sliced_string
323322
length_string = len(string)
324-
323+
325324
first_index = 1
326325
last_index = length_string
327326
stride_vector = 1

0 commit comments

Comments
 (0)