Skip to content

Commit 1cfcae5

Browse files
committed
Fix stack overflow in example1 with ifx on Windows
1 parent 185e8a7 commit 1cfcae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/example1.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ program example1
3838
! Create ppm files
3939
call custom_cmap%load('test_map_to_load.txt', 0.0_wp, 2.0_wp)
4040
call custom_cmap%colorbar('a_loaded_colormap_ascii_test', encoding='ascii')
41-
call custom_cmap%colormap('a_loaded_colormap_ascii_colorbar', zfun, xmin, xmax, encoding='ascii')
41+
call custom_cmap%colormap('a_loaded_colormap_ascii_colorbar', zfun, xmin, xmax, encoding='ascii', width=200, height=200)
4242
call custom_cmap%print()
43+
call custom_cmap%finalize()
4344

4445
! Import ascii ppm files
4546
call ex1_colormap%import_pnm('a_loaded_colormap_ascii_test','ppm', 'ascii')

0 commit comments

Comments
 (0)