Skip to content

Calling toTex on node that contains call to derivative() causes exception #1103

@ovk

Description

@ovk

Derivative function cannot be converted to TeX expression. When calling toTex on node that contains a call to derivative function the following exception is thrown

TypeError: Unexpected type of argument in function _derivTex (expected: SymbolNode, actual: ConstantNode, index: 1)

Here's a minimal example that reproduces this issue: https://jsfiddle.net/hhpxvprx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions