diff --git a/src/x/xGetFromToIndex.ts b/src/x/xGetFromToIndex.ts index 817a03fe..79e13f05 100644 --- a/src/x/xGetFromToIndex.ts +++ b/src/x/xGetFromToIndex.ts @@ -1,4 +1,4 @@ -import { DoubleArray } from 'cheminfo-types'; +import { NumberArray } from 'cheminfo-types'; import { xFindClosestIndex } from './xFindClosestIndex'; @@ -9,7 +9,7 @@ import { xFindClosestIndex } from './xFindClosestIndex'; * @param options - Options */ export function xGetFromToIndex( - x: DoubleArray, + x: NumberArray, options: { /** * First point for xyIntegration