alashworth / test-issue-import

0 stars 0 forks source link

reverse deprecation on abs() and fabs() #54

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by bob-carpenter Wednesday Jan 28, 2015 at 22:54 GMT Originally opened as https://github.com/stan-dev/stan/issues/1255


I think we should deprecate

and go with just

The only drawback is that we won't have a function that applies to an integer and returns a real value, but I don't think we need that. Returning an integer won't lose information, and Stan will just promote it to a real value if necessary to use it elsewhere. And we'll still get integer absolute values for integers.

I propose getting rid of everything we're deprecating in Stan 3.

alashworth commented 5 years ago

Comment by rtrangucci Friday Mar 04, 2016 at 23:09 GMT


@syclik we fixed with #1649 which was merged, ok to close?

alashworth commented 5 years ago

Comment by bob-carpenter Friday Mar 04, 2016 at 23:14 GMT


yes.

alashworth commented 5 years ago

Comment by bob-carpenter Monday Dec 12, 2016 at 02:37 GMT


I think we can solve this one and it'll be less confusing to users not familiar with the C++ function fabs.