Skip to content

Commit

Permalink
Merge pull request #33 from mlubin/ml/update
Browse files Browse the repository at this point in the history
De-cruft
  • Loading branch information
mlubin authored Nov 20, 2019
2 parents 2e4e110 + 577d849 commit 9df0dcb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
language: julia
os:
- linux
# - osx # backlogged
- osx
julia:
- 0.6
- 0.7
- nightly
- 1.0
notifications:
email: false
# uncomment the following lines to override the default test script
Expand Down
5 changes: 2 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name = "NaNMath"
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
repo = "https://github.com/mlubin/NaNMath.jl.git"
authors = ["Miles Lubin"]
version = "0.3.3"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

[compat]
julia = "0.6, 0.7, 1"
Compat = "0.47, 1, 2, 3"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[![Build Status](https://travis-ci.org/mlubin/NaNMath.jl.svg?branch=master)](https://travis-ci.org/mlubin/NaNMath.jl)
[![NaNMath](http://pkg.julialang.org/badges/NaNMath_0.6.svg)](http://pkg.julialang.org/detail/NaNMath)
[![NaNMath](http://pkg.julialang.org/badges/NaNMath_0.7.svg)](http://pkg.julialang.org/detail/NaNMath)


# NaNMath
Expand Down
2 changes: 0 additions & 2 deletions REQUIRE

This file was deleted.

4 changes: 1 addition & 3 deletions src/NaNMath.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
__precompile__()
module NaNMath

using Compat

const libm = Base.libm_name

for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10,
Expand Down Expand Up @@ -59,7 +57,7 @@ function sum(x::AbstractArray{T}) where T<:AbstractFloat
end

if isnan(result)
Compat.@warn "All elements of the array, passed to \"sum\" are NaN!"
@warn "All elements of the array, passed to \"sum\" are NaN!"
end
return result
end
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using NaNMath
using Compat.Test
using Test

@test isnan(NaNMath.log(-10))
@test isnan(NaNMath.log1p(-100))
Expand Down

3 comments on commit 9df0dcb

@mlubin
Copy link
Collaborator Author

@mlubin mlubin commented on 9df0dcb Nov 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mlubin
Copy link
Collaborator Author

@mlubin mlubin commented on 9df0dcb Nov 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/5658

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.3 -m "<description of version>" 9df0dcb50357af7638ae6c27d5318299696a0cec
git push origin v0.3.3

Please sign in to comment.