Skip to content

Commit

Permalink
chore: cleanup unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Oct 9, 2024
1 parent e58ed40 commit 1b850f6
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions src/function/algebra/simplify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,12 @@ import { createEmptyMap, createMap } from '../../utils/map.js'

const name = 'simplify'
const dependencies = [
'config',
'typed',
'parse',
'add',
'subtract',
'multiply',
'divide',
'pow',
'isZero',
'equal',
'resolve',
'simplifyConstant',
'simplifyCore',
'?fraction',
'?bignumber',
'mathWithTransform',
'matrix',
'AccessorNode',
'ArrayNode',
'ConstantNode',
Expand All @@ -37,23 +26,12 @@ const dependencies = [

export const createSimplify = /* #__PURE__ */ factory(name, dependencies, (
{
config,
typed,
parse,
add,
subtract,
multiply,
divide,
pow,
isZero,
equal,
resolve,
simplifyConstant,
simplifyCore,
fraction,
bignumber,
mathWithTransform,
matrix,
AccessorNode,
ArrayNode,
ConstantNode,
Expand Down Expand Up @@ -199,7 +177,7 @@ export const createSimplify = /* #__PURE__ */ factory(name, dependencies, (
simplify.positiveContext = positiveContext

function removeParens (node) {
return node.transform(function (node, path, parent) {
return node.transform(function (node) {
return isParenthesisNode(node)
? removeParens(node.content)
: node
Expand Down

0 comments on commit 1b850f6

Please sign in to comment.