File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,8 @@ submodule (stdlib_linalg) stdlib_linalg_eigenvalues
21
21
!> Request for symmetry side (default: lower)
22
22
elemental character function symmetric_triangle_task(upper)
23
23
logical(lk), optional, intent(in) :: upper
24
- if (present(upper)) then
25
- symmetric_triangle_task = merge('U','L',upper)
26
- else
27
- symmetric_triangle_task = 'L'
28
- endif
24
+ symmetric_triangle_task = 'L'
25
+ if (present(upper)) symmetric_triangle_task = merge('U','L',upper)
29
26
end function symmetric_triangle_task
30
27
31
28
!> Process GEEV output flags
@@ -194,11 +191,8 @@ submodule (stdlib_linalg) stdlib_linalg_eigenvalues
194
191
endif
195
192
196
193
! Can A be overwritten? By default, do not overwrite
197
- if (present(overwrite_a)) then
198
- copy_a = .not.overwrite_a
199
- else
200
- copy_a = .true._lk
201
- endif
194
+ copy_a = .true._lk
195
+ if (present(overwrite_a)) copy_a = .not.overwrite_a
202
196
203
197
! Initialize a matrix temporary
204
198
if (copy_a) then
You can’t perform that action at this time.
0 commit comments