Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE1D6DEDE for ; Mon, 27 May 2013 15:24:25 +0000 (UTC) Received: (qmail 70143 invoked by uid 500); 27 May 2013 15:24:25 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 69434 invoked by uid 500); 27 May 2013 15:24:24 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 68516 invoked by uid 99); 27 May 2013 15:24:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 15:24:21 +0000 Date: Mon, 27 May 2013 15:24:21 +0000 (UTC) From: "Maysam Yabandeh (JIRA)" To: dev@mahout.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAHOUT-1230) SparceMatrix.clone() is not deep copy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Maysam Yabandeh created MAHOUT-1230: --------------------------------------- Summary: SparceMatrix.clone() is not deep copy Key: MAHOUT-1230 URL: https://issues.apache.org/jira/browse/MAHOUT-1230 Project: Mahout Issue Type: Bug Components: Math Affects Versions: 0.7 Reporter: Maysam Yabandeh Priority: Minor Fix For: 0.8, 0.7 After changing the matrix created by clone(), the original matrix changes as well. I am attaching a patch with the unit test. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira