alecloudenback

Results 79 comments of alecloudenback

FYI this appears to fix #420; a PR was started in #432 and the author closed for lack of time on their part to investigate CI failures. Here's the test...

Bump on this PR. I am encountering the issue in #420 as well. On my local machine (1.8RC4, Mac M1) the tests pass. I agree with @danielw2904 that this appears...

Thanks, @tkf! That was helpful to get `Scanx` working where the initial values are defined: ```julia-repl julia> collect(Scanx(+),1:5) 6-element Vector{Int64}: 0 1 3 6 10 15 ``` However, cases with...

Yeah it seems like JET works on more recent versions of Julia on the M-series now

Add more detail on KRDs, e.g. a plot like this: ```julia ts = 1:0.01:5 c = Yields.Constant(Yields.Periodic(0.04,2)) cp = ActuaryUtilities._krd_new_curve(KeyRatePar(3),c,1:10) cz = ActuaryUtilities._krd_new_curve(KeyRateZero(3),c,1:10) p1 = plot(ts,t->rate(Yields.par(c,t)),ylim=(0.0398,.0412),label="4% base (par)",title="Par Shock") plot!(ts,t->rate(Yields.par(cp,t)),label="4%...

It's a good idea to help users with a more informative error here! Three suggestions/comments: 1. In Julia it's better to not return different types (string and number) if possible....

Hi @KuldeepBorkar, After a lot of thought and [discussion here](https://discourse.julialang.org/t/when-to-return-nan-vs-throw-an-error/89587), I would favor not throwing an error or special casing the `moic` function as you proposed in your initial commit....

I've started working through updating the code and tests for 1.0 and will open a PR when done.

See #31 for an update to v1.0.

This would close #25