From 177d4c8a639c6b061e159ba288f86bf7e50d0ed7 Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Thu, 21 Dec 2023 10:08:43 +0200 Subject: [PATCH] Get rid of unhelpful warnings when running out of fraction precission --- src/interval.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/interval.ts b/src/interval.ts index a5e20ed..9078002 100644 --- a/src/interval.ts +++ b/src/interval.ts @@ -515,8 +515,6 @@ export class Interval { if (options.forbidMonzo) { return cents(); } - } else { - console.warn('Failed to represent ratio line. Falling back.'); } } @@ -538,10 +536,6 @@ export class Interval { if (options.forbidMonzo) { return cents(); } - } else { - console.warn( - 'Failed to represent equal temperament line. Falling back.' - ); } }