Skip to content

Commit 88073e8

Browse files
committed
Commit these future kovesi() function modifications and add one @nospecialize
1 parent 58b09ba commit 88073e8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/GMT.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export
138138
sunsetrise, spectrum1d, sphdistance, sphinterpolate,
139139
sphtriangulate, surface, ternary, ternary!, text, text!, text_record, trend1d, trend2d, triangulate, gmtsplit,
140140
decorated, vector_attrib, wiggle, wiggle!, xyz2grd, gmtbegin, gmtend, gmthelp, subplot, gmtfig, inset, showfig,
141-
earthtide, gmt2grd, gravfft, gmtgravmag3d, gravmag3d, grdgravmag3d, gravprisms, grdseamount, parkermag, parkergrav, ppdrc,
141+
earthtide, gmt2grd, gravfft, gmtgravmag3d, gravmag3d, grdgravmag3d, gravprisms, grdseamount, parkermag, parkergrav, kovesi,
142142
pscoupe, pscoupe!, coupe, coupe!, psmeca, psmeca!, meca, meca!, psvelo, psvelo!, sac, sac!, velo, velo!, gmtisf, getbyattrib,
143143
inpolygon, inwhichpolygon, pcolor, pcolor!, triplot, triplot!, trisurf, trisurf!, grdrotater, imagesc, upGMT, boxes,
144144
segy, segy!, segyz, segyz!, segy2grd, stereonet, stereonet!, add_opt, isgeog, numel, scan_opt, extrema_nan, parse_RIr,

src/common_options.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ arg2str(arg::Nothing, sep = '/')::String = ""
21952195
arg2str(arg::Real, sep = '/')::String = @sprintf("%.12g", arg)
21962196
arg2str(arg::Symbol, sep = '/')::String = string(arg)
21972197
arg2str(arg::Array{<:Real}, sep = '/')::String = string(rstrip(join([string(x, sep) for x in arg]), sep))
2198-
arg2str(arg::Tuple, sep = '/')::String = string(rstrip(join([string(x, sep) for x in arg]), sep))
2198+
arg2str(@nospecialize(arg::Tuple), sep = '/')::String = string(rstrip(join([string(x, sep) for x in arg]), sep))
21992199
function arg2str(arg::Bool, sep = '/')::String
22002200
@assert arg "arg is false!"
22012201
arg && return ""

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ parkermag(x, y, z=""; kw...) =
16971697
printstyled("\tTo use this function you need to load the FFTW package first. Do:\n\tusing FFTW"; color=:yellow)
16981698
parkergrav(x, y=""; kw...) =
16991699
printstyled("\tTo use this function you need to load the FFTW package first. Do:\n\tusing FFTW"; color=:yellow)
1700-
ppdrc(x; kw...) =
1700+
kovesi(x; kw...) =
17011701
printstyled("\tTo use this function you need to load the FFTW package first. Do:\n\tusing FFTW"; color=:yellow)
17021702

17031703
read_xls(x; kw...) =

0 commit comments

Comments
 (0)