scs 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/scs/version.rb +1 -1
- data/vendor/scs/CITATION.cff +1 -1
- data/vendor/scs/CMakeLists.txt +1 -1
- data/vendor/scs/README.md +1 -1
- data/vendor/scs/include/glbopts.h +1 -1
- data/vendor/scs/src/linalg.c +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94397cc7650c5248dd5f8c7ac78335796fb75437a4508cb11531787b727c8a38
|
4
|
+
data.tar.gz: e7fda9f91ae911f2d67661bc0af926ec5ba8258ce81ea1c7398d9dc8916ec3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c4a2d5c9bf85749a27d50da430f73b505e0690d4a8af7ae05734937bb0e8cc7e5bbe1c1a92f998f2672db4d2a8ce242c449f0ac8b634b99d709549670b5b02d
|
7
|
+
data.tar.gz: 032e6746c4ba7e8120dbbe7c635b9ae5ba5400a6e2f627e87ddbafe26ddcd68a8d5d06d0e53193228b7f5612c79edae9873c5d405a216e91f2ebb25f29ce921d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Check out [Opt](https://github.com/ankane/opt) for a high-level interface
|
6
6
|
|
7
|
-
[](https://github.com/ankane/scs-ruby/actions)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
data/lib/scs/version.rb
CHANGED
data/vendor/scs/CITATION.cff
CHANGED
data/vendor/scs/CMakeLists.txt
CHANGED
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.5)
|
|
6
6
|
project(
|
7
7
|
scs
|
8
8
|
LANGUAGES C
|
9
|
-
VERSION 3.2.
|
9
|
+
VERSION 3.2.7)
|
10
10
|
|
11
11
|
# Defines the CMAKE_INSTALL_LIBDIR, CMAKE_INSTALL_BINDIR and many other useful
|
12
12
|
# macros. See https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
|
data/vendor/scs/README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
SCS (`splitting conic solver`) is a numerical optimization package for solving
|
11
|
-
large-scale convex cone problems. The current version is `3.2.
|
11
|
+
large-scale convex cone problems. The current version is `3.2.7`.
|
12
12
|
|
13
13
|
The full documentation is available [here](https://www.cvxgrp.org/scs/).
|
14
14
|
|
@@ -14,7 +14,7 @@ extern "C" {
|
|
14
14
|
|
15
15
|
/* SCS VERSION NUMBER ---------------------------------------------- */
|
16
16
|
/* string literals automatically null-terminated */
|
17
|
-
#define SCS_VERSION ("3.2.
|
17
|
+
#define SCS_VERSION ("3.2.7")
|
18
18
|
|
19
19
|
/* verbosity level */
|
20
20
|
#ifndef VERBOSITY
|
data/vendor/scs/src/linalg.c
CHANGED
@@ -153,9 +153,14 @@ scs_float SCS(norm_inf)(const scs_float *a, scs_int len) {
|
|
153
153
|
*/
|
154
154
|
|
155
155
|
scs_float SCS(norm_inf)(const scs_float *a, scs_int len) {
|
156
|
+
/* Follow the semantics of BLASI(lange) for zero-size array. */
|
157
|
+
scs_int idx;
|
156
158
|
blas_int bone = 1;
|
157
159
|
blas_int blen = (blas_int)len;
|
158
|
-
|
160
|
+
if (len <= 0) {
|
161
|
+
return 0.0;
|
162
|
+
}
|
163
|
+
idx = (scs_int)BLASI(amax)(&blen, a, &bone);
|
159
164
|
/* Returned idx is 1-based. */
|
160
165
|
return ABS(a[idx - 1]);
|
161
166
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.5.
|
142
|
+
rubygems_version: 3.5.16
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: SCS - the splitting conic solver - for Ruby
|