# Getting gradient of taylorinteg

**URL:** https://discourse.julialang.org/t/getting-gradient-of-taylorinteg/77632
**Category:** General Usage
**Tags:** forwarddiff
**Created:** [March 9, 2022, 1:51pm UTC](https://discourse.julialang.org/t/getting-gradient-of-taylorinteg/77632 "2022-03-09T13:51:46Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)
#### Post date: [March 9, 2022, 5:58pm UTC](https://discourse.julialang.org/t/getting-gradient-of-taylorinteg/77632/6 "2022-03-09T17:58:09Z")

</div>

> [@Alseidon](#):
>
> Do you know why setindex! is given the wrong type of variables in the first place ?

I believe `taylorinteg` could be improved to handle it automatically. But you would have to file an issue.

BTW: this was the [thread](https://discourse.julialang.org/t/another-type-problem-with-forwarddiff-typeerror-in-typeassert-expected-float64-got-a-value-of-type-forwarddiff-dual-nothing-float64-1/77363) I forgot to link.

---

_[View the full topic](https://discourse.julialang.org/t/getting-gradient-of-taylorinteg/77632)._
