Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 committed Jun 1, 2024
1 parent f49e030 commit 85d0e5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/isotherm_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function isotherm_data(x::X,y::Y,x_label::Symbol,y_label::Symbol) where {X,Y}

if !issorted(x)
idx = sortperm(xx)
yv,xv = @view(y,idx),@view(x,idx)
yv,xv = view(y,idx),view(x,idx)
yy .= yv
xx .= xv
else
Expand Down Expand Up @@ -77,6 +77,6 @@ end
Tables.getcolumn(m::AbsorbedIsothermData, ::Type{T}, col::Int, nm::Symbol) where {T} = Tables.getcolumn(m,nm)


Tables.columnnames(table) = (table.x_label,table.y_label)
Tables.columnnames(table::AbsorbedIsothermData) = (table.x_label,table.y_label)

export AbsorbedIsothermData, isotherm_data
2 changes: 1 addition & 1 deletion src/methods/methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function halley_fixpoint(f,x)
return x - 2*f*df/(2*df*df - f*d2f)
end

include("nlsolve") #api for nlsolvers.jl
include("nlsolve.jl") #api for nlsolvers.jl
include("iast.jl") #fastIAS
include("fit.jl") #fitting isotherms to data
include("reverse_iast.jl") #reverse IAST (#TOD)
Expand Down

0 comments on commit 85d0e5a

Please sign in to comment.