From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Howard Newsgroups: gmane.emacs.bugs Subject: bug#35374: Calc; Div by 0 in solving system Date: Sun, 22 Sep 2019 21:28:32 -0800 Message-ID: <1569216512.8427.1.camel@qlfiles.net> References: <2C5B66F6-D2BC-4A7E-B27A-BB0F6A80A1A3@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256865"; mail-complaints-to="usenet@blaine.gmane.org" To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 35374@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 23 16:36:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCPRi-0014hw-Gj for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 16:36:10 +0200 Original-Received: from localhost ([::1]:57354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCPRh-0000hI-5A for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 10:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCPNj-0005M1-Eq for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCPNi-0000Lk-6g for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCPNi-0000La-0W for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCPNh-00009H-RW for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 10:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2019 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35374 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch fixed Original-Received: via spool by 35374-submit@debbugs.gnu.org id=B35374.1569249079521 (code B ref 35374); Mon, 23 Sep 2019 14:32:01 +0000 Original-Received: (at 35374) by debbugs.gnu.org; 23 Sep 2019 14:31:19 +0000 Original-Received: from localhost ([127.0.0.1]:36712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCPN0-00008I-Jp for submit@debbugs.gnu.org; Mon, 23 Sep 2019 10:31:19 -0400 Original-Received: from mx.kolabnow.com ([95.128.36.42]:32642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCGtv-00058b-JI for 35374@debbugs.gnu.org; Mon, 23 Sep 2019 01:28:44 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 07D4364D; Mon, 23 Sep 2019 07:28:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:content-type:content-type :references:in-reply-to:date:date:from:from:subject:subject :message-id:received:received:received; s=dkim20160331; t= 1569216516; x=1571030917; bh=4fYA5YgsW4rSac5ZKHKU+UfJhDS2lpacAit TN22fZW0=; b=LsVVyQ+xFGzscp9jWHRPpXvfeK/Han73FtFM92jWquNF39ytSdx 9TQjfQ3xnJcHG8Gz8N9GEo6r6IqDYEDevms5QoeYduxKVU/oFaQ9yJ7OBCY8VwGb dC1BLXC45v21PA7rjH8GtxTxrGk3evMixLrXFPXDtNuVz4J1S3HrO2pO693Dnvb+ Mt5KFpFgDNqcH+gqI5s65Pcr2UvEhcmDCVWKoiRnEAvBGPsu52vjM6AFUkBseJch mO1GA0q64hsSMLTKphF5njufmKQRQs6o8vaU95omg+5Vrt2D+HfTRb7HGMw+1+wL GDgv9PDw20+ddJhSWkOjesQu4Sie5l3ts+HvwRNBxIFAfw4+YSzzYOowdq+Zw0D4 mlOQMjUFI04O0zgVJiaQU6ZRCg/QgVJP+61UXkwYxtSI0cBuRqQN4VvLzVU0Mqx+ dpq+VGr2zkNfnfyetkkF1gJUh8jEGm+NIWP9VtKhb/9ApDBNVioGkDBNjGg+H1T1 T+0BK5c/R7/6W3I6YGCCtL6qBVwhuzZ/QvAcr+ViMJFNk X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V_f7Bb594l3R; Mon, 23 Sep 2019 07:28:36 +0200 (CEST) Original-Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 495D4358; Mon, 23 Sep 2019 07:28:36 +0200 (CEST) Original-Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id F3F3D3BFA; Mon, 23 Sep 2019 07:28:35 +0200 (CEST) In-Reply-To: <2C5B66F6-D2BC-4A7E-B27A-BB0F6A80A1A3@acm.org> X-Mailman-Approved-At: Mon, 23 Sep 2019 10:31:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167002 Archived-At: I am now using Emacs 26.2 (through Guix) but am able to reproduce the original error in 26.2. I patched just this function (math-try-solve- for) and reloaded it. The error went away, and the correct solution was generated. I did not try running the tests. --  https://librehacker.com Christopher Howard p: +1 (907) 374-0257 social feed: https://gnusocial.club/librehacker xmpp: creationist@member.fsf.org otr: E9685B53 01F038DD D29281C9 30FDA71E BD0095D4 gnupg: 23FD5CC5 (keys.gnupg.net) radio: KL1TL featured: https://emailselfdefense.fsf.org/en/ On Sun, 2019-09-22 at 19:34 +0200, Mattias Engdegård wrote: > tags 35374 patch > stop > > > Maybe someone more knowledgeable about Calc can help further. > > Much to our surprise, very few people volunteered their service. Now, > despite being grossly under-qualified for the task, I did give it a > go. After all, we can't have it fail on simple linear equation > systems now can we. > > Please try this patch. >