Andrew Johnson

Results 456 comments of Andrew Johnson

I checked the values being used by the `expect_common_nonzero_binary` function, and it looks like the error occurs when the first argument to `atan2` is infinite. You can reproduce with: ```cpp...

> @andrjohns I think I'll comment out `expect_common_nonzero_binary` and just test the derivative manually. Talking to @rok-cesnovar it seems that finite differences is failing for infinite input (as you noted...

@SteveBronder Would it be worth expanding the `apply_scalar_unary` and `apply_scalar_binary` frameworks to take `varmat` inputs regardless? There's going to be a performance cost when the function doesn't have a specialisation,...

Sorry to hear that you've been having issues. What issues did you encounter when installing? Are there changes to the installation instructions that would have been helpful for you? As...

Normally that fixes it. Try restarting R first (making sure that `rstan` doesn't get loaded), and remove the old packages first before installing the new ones: ```r Sys.setenv(MAKEFLAGS = paste0("-j",parallel::detectCores()))...

Unfortunately the minimum supported gcc version is 4.9.3

@silvaden If your `gcc` version is only 4.8.5 then unfortunately you won't be able to work with the current release of Stan, regardless of which interface you use - since...

Hi Dana, sorry about the delay in getting to this. I'm able to run your code above on Windows with no crashes. The main difference I see that I'm using...

Hi Angus, that documentation is for Stan 2.26 whereas RStan is (currently) only at 2.21, which does not have the elementwise ```pow``` operator yet. You have two options if you...

Sorry for taking so long to get to this. This error is caused by a recent update to the `BH` package, to fix you just need to reinstall rstan and...