From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 04/18] gnu: Add r-spams. Date: Mon, 28 Nov 2016 22:39:46 +0100 Message-ID: <87wpfn1dy5.fsf@elephly.net> References: <20161124165139.13740-1-rekado@elephly.net> <20161124165139.13740-5-rekado@elephly.net> <20161125041249.GA16816@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBTeZ-0002BL-4y for guix-devel@gnu.org; Mon, 28 Nov 2016 16:40:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBTeV-0008JR-8N for guix-devel@gnu.org; Mon, 28 Nov 2016 16:39:59 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBTeU-0008IP-Vm for guix-devel@gnu.org; Mon, 28 Nov 2016 16:39:55 -0500 In-reply-to: <20161125041249.GA16816@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari writes: > On Thu, Nov 24, 2016 at 05:51:25PM +0100, Ricardo Wurmus wrote: >> * gnu/packages/statistics.scm (r-spams): New variable. > >> + ;; This looks like a syntax error. >> + (add-after 'chdir 'patch-isnan >> + (lambda _ >> + (substitute* '"src/spams/linalg/linalg.h" >> + (("if isnan\\(lambda\\) \\{") >> + "if (isnan(lambda)) {")) >> + #t))))) > > Has this been reported upstream? :) I’ve just sent an email to the developer. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net