From c2acea7c0453ce3020d823abcfba08aeb1dcb14b Mon Sep 17 00:00:00 2001 From: Luc Patiny Date: Fri, 1 Apr 2022 15:23:04 +0200 Subject: [PATCH] feat: xGetFromToIndex accepts a NumberArray --- src/x/xGetFromToIndex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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