Skip to content

Commit

Permalink
Temporary workaround for a nvfortran compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed May 9, 2024
1 parent 756be0f commit b7e6154
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/colormap_class.f90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
! SOFTWARE.
!-------------------------------------------------------------------------------
! Contributed by vmagnin: 2023-09-26
! Last modification: gha3mi 2024-02-16, vmagnin 2024-05-08
! Last modification: gha3mi 2024-02-16, vmagnin 2024-05-09
!-------------------------------------------------------------------------------


Expand All @@ -37,7 +37,7 @@ module forcolormap
public :: wp

! List of built-in colormaps:
character(*), dimension(*), public, parameter :: colormaps_list = &
character(*), dimension(6+222+4), public, parameter :: colormaps_list = &
[character(colormap_name_length) :: &
miscellaneous_colormaps_list,&
scientific_colour_maps_list,&
Expand Down
4 changes: 2 additions & 2 deletions src/matplotlib_colormaps.f90
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
! SOFTWARE.
!-------------------------------------------------------------------------------
! Contributed by gha3mi: 2023-10-30
! Last modification: gha3mi 2023-10-30
! Last modification: gha3mi 2023-10-30, vmagnin 2024-05-09
!-------------------------------------------------------------------------------

module matplotlib_colormaps
use colormap_parameters, only: colormap_name_length
implicit none
private

character(*), dimension(*), parameter, public :: matplotlib_colormaps_list = &
character(*), dimension(4), parameter, public :: matplotlib_colormaps_list = &
[character(colormap_name_length) :: &
"magma", "inferno","plasma", "viridis"]

Expand Down
4 changes: 2 additions & 2 deletions src/miscellaneous_colormaps.f90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
! SOFTWARE.
!-------------------------------------------------------------------------------
! Contributed by vmagnin: 2023-09-26
! Last modifications: gha3mi 2024-01-06, vmagnin 2024-02-16
! Last modifications: gha3mi 2024-01-06, vmagnin 2024-05-09
!-------------------------------------------------------------------------------

module miscellaneous_colormaps
Expand All @@ -32,7 +32,7 @@ module miscellaneous_colormaps
public :: fire_colormap, rainbow_colormap, &
inv_rainbow_colormap, zebra_colormap, cubehelix_colormap

character(*), dimension(*), parameter, public :: miscellaneous_colormaps_list = &
character(*), dimension(6), parameter, public :: miscellaneous_colormaps_list = &
[character(colormap_name_length) :: &
"fire", "rainbow", "inv_rainbow", "zebra", "cubehelix", &
"black_body"]
Expand Down
2 changes: 1 addition & 1 deletion src/scientific_colour_maps.f90
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module scientific_colour_maps
implicit none
private

character(*), dimension(*), parameter, public :: scientific_colour_maps_list = &
character(*), dimension(222), parameter, public :: scientific_colour_maps_list = &
[character(colormap_name_length) :: &
"acton", "acton10", "acton100", "acton25", "acton50", "actonS", &
"bam", "bam10", "bam100", "bam25", "bam50", "bamako", &
Expand Down

0 comments on commit b7e6154

Please sign in to comment.