We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f018414 commit a0d2a03Copy full SHA for a0d2a03
src/stdlib_math_linspace.fypp
@@ -25,7 +25,7 @@ contains
25
${t1}$, intent(in) :: end
26
integer, intent(in) :: n
27
28
- ${t1}$ :: res(merge(n, 0, n > 0))
+ ${t1}$ :: res(max(n, 0))
29
30
integer :: i ! Looping index
31
${t1}$ :: interval ! Difference between adjacent elements
0 commit comments