Skip to content

Commit

Permalink
sagemathgh-36050: normaliz: Update to 3.10.1
Browse files Browse the repository at this point in the history
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

<!-- Why is this change required? What problem does it solve? -->
https://github.com/Normaliz/Normaliz/releases

<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36050
Reported by: Matthias Köppe
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed Aug 23, 2023
2 parents 361e267 + b4244cc commit b3d904b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build/pkgs/normaliz/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=normaliz-VERSION.tar.gz
sha1=16fcf28e862f8d7c971c9fa682cbacb24fcf8ce1
md5=0d8a2e841193bb4b2422aac7744ece0b
cksum=2885510960
upstream_url=https://github.com/Normaliz/Normaliz/releases/download/VERSION/normaliz-VERSION.tar.gz
sha1=d3c4e554c6a5ccf4fd04147e7744a63e3def1766
md5=1c7a7833ad180ef4e0e4f124ed398973
cksum=3124231015
upstream_url=https://github.com/Normaliz/Normaliz/releases/download/vVERSION/normaliz-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/normaliz/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.0
3.10.1
21 changes: 21 additions & 0 deletions build/pkgs/normaliz/patches/411.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
commit ecdb62c90a3767b440800dcf2c49589e890a53b1
Author: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
Date: Tue Aug 8 17:03:32 2023 -0700

full_cone.cpp: Remove debug output

diff --git a/source/libnormaliz/full_cone.cpp b/source/libnormaliz/full_cone.cpp
index 0fd906b3..cb2cce2b 100644
--- a/source/libnormaliz/full_cone.cpp
+++ b/source/libnormaliz/full_cone.cpp
@@ -3447,8 +3447,8 @@ void Full_Cone<Integer>::build_cone_dynamic() {
// if they aren't in a hyperplane anyway
if(IntHullNorm.size() > 0){
#pragma omp parallel for
- for(size_t i = 0; i< OriGens.nr_of_rows(); ++i){
- cout << "i " << i << " -- " << OriGensFloat[i];
+ for (size_t i = 0; i< OriGens.nr_of_rows(); ++i){
+ // cout << "i " << i << " -- " << OriGensFloat[i];
nmz_float norm = v_scalar_product(OriGensFloat[i], IntHullNormFloat);
v_scalar_division(OriGensFloat[i], norm);
}

0 comments on commit b3d904b

Please sign in to comment.