Skip to content

deprecate lowercase constructors - #28

Closed
mlubin wants to merge 1 commit into
masterfrom
lowercase
Closed

mlubin wants to merge 1 commit into
masterfrom
lowercase

Conversation

@mlubin

@mlubin mlubin commented Nov 6, 2015

Copy link
Copy Markdown
Contributor

drops support for 0.3.
The package fell a bit behind in following the Julia convention of deprecating int for Int etc. Only question is what we should do for the vectorized versions. float([1,2,3]) is still around, but int([1.0,2.0,3.0]) is not. Is Dual([1.0,2.0,3.0]) okay for creating an array of dual numbers, or should we keep dual for the vectorized case?

drop support for 0.3
@jrevels

jrevels commented Nov 6, 2015

Copy link
Copy Markdown
Member

+1 to throwing out the vectorized case.

I think using map(Dual, [1.0, 2.0, 3.0]) is preferable to defining Dual(::Vector), if there aren't any performance issues with falling back to map (not sure if that's the case).

@mlubin

mlubin commented May 17, 2016

Copy link
Copy Markdown
Contributor Author

This is stale

@mlubin mlubin closed this May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants