[ 
https://issues.apache.org/jira/browse/MAHOUT-679?focusedWorklogId=997714&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-997714
 ]

ASF GitHub Bot logged work on MAHOUT-679:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Dec/25 17:32
            Start Date: 24/Dec/25 17:32
    Worklog Time Spent: 10m 
      Work Description: shiavm006 opened a new pull request, #757:
URL: https://github.com/apache/mahout/pull/757

   ### Purpose of PR
   Fix `draw_circuit()` method to return visualization string instead of None. 
The method was printing the circuit visualization but returning `None`, which 
contradicted the docstring that claimed it returns a visualization object. Now 
all backends (Qiskit, Cirq, Amazon Braket) return the visualization string as 
documented, allowing users to capture and use the return value.
   
   ### Related Issues or PRs
   - Closes #679
   
   ### Changes Made
   - [x] Bug fix
   - [ ] New feature
   - [ ] Refactoring
   - [ ] Documentation
   - [ ] Test
   - [ ] CI/CD pipeline
   - [ ] Other
   
   ### Breaking Changes
   - [ ] Yes
   - [x] No
   
   ### Checklist
   - [x] Added or updated unit tests for all changes
   - [ ] Added or updated documentation for all changes
   - [x] Successfully built and ran all unit tests or manual tests locally
   - [x] PR title follows "MAHOUT-XXX: Brief Description" format (if related to 
an issue)
   - [x] Code follows ASF guidelines




Issue Time Tracking
-------------------

            Worklog Id:     (was: 997714)
    Remaining Estimate: 0h
            Time Spent: 10m

> ClusterDumper closes System.out
> -------------------------------
>
>                 Key: MAHOUT-679
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-679
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Ted Dunning
>            Priority: Major
>             Fix For: 0.5
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> if the output file passed to ClusterDumper is null, it uses System.out.  But 
> it always closes its input.
> Closing System.out confuses lots of stuff.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to