microsoft / knossos-ksc

Compiler with automatic differentiation
Other
45 stars 10 forks source link

Check elemty in buildFromSparse is addable #735

Open awf opened 3 years ago

awf commented 3 years ago

https://github.com/microsoft/knossos-ksc/blob/f13e0b9949966d329cd7839db6cde749793d8b99/src/ksc/Prim.hs#L768

awf commented 3 years ago

Shoudl add be a prim given buildFromSparse