Skip to content

Instantly share code, notes, and snippets.

View tkelman's full-sized avatar

Tony Kelman tkelman

View GitHub Profile
@tkelman
tkelman / msvc-fix.patch
Created October 17, 2015 03:26 — forked from anonymous/-
diff --git a/src/intrinsics.cpp b/src/intrinsics.cpp
index 29f8567..ce923a3 100644
--- a/src/intrinsics.cpp
+++ b/src/intrinsics.cpp
@@ -913,7 +913,7 @@ static jl_cgval_t emit_intrinsic(intrinsic f, jl_value_t **args, size_t nargs,
f = fptosi_auto;
unsigned expected_nargs = intrinsic_nargs[f];
if (expected_nargs && expected_nargs != nargs) {
- jl_errorf("intrinsic #%d %s: wrong number of arguments", f, jl_intrinsic_name((int)f));
+ jl_errorf("intrinsic #%d %s: wrong number of arguments", f, JL_I::jl_intrinsic_name((int)f));
{"gitdate":"2015-09-23 19:55:48 -0500","exit_code":"1","name":"AffineTransforms","jlver":"0.4","gitsha":"373932ca8e7c2c1e42b34140e953b5c9bf8abfe4","status":"tests_fail","version":"0.1.0","url":"http://github.com/timholy/AffineTransforms.jl","log":">>> 'Pkg.add(\"AffineTransforms\")' log\nINFO: Cloning cache of AffineTransforms from git://github.com/timholy/AffineTransforms.jl.git\nINFO: Cloning cache of AxisAlgorithms from git://github.com/timholy/AxisAlgorithms.jl.git\nINFO: Cloning cache of Interpolations from git://github.com/tlycken/Interpolations.jl.git\nINFO: Cloning cache of Ratios from git://github.com/timholy/Ratios.jl.git\nINFO: Cloning cache of WoodburyMatrices from git://github.com/timholy/WoodburyMatrices.jl.git\nINFO: Installing AffineTransforms v0.1.0\nINFO: Installing AxisAlgorithms v0.1.3\nINFO: Installing Interpolations v0.3.1\nINFO: Installing Ratios v0.0.4\nINFO: Installing WoodburyMatrices v0.1.2\nINFO: Package database updated\n\n>>> 'Pkg.test(\"AffineTransforms\")' log\nJulia Version 0.
@tkelman
tkelman / lapack-doc-edits.patch
Last active October 17, 2015 02:56 — forked from anonymous/-
diff --git a/base/linalg/lapack.jl b/base/linalg/lapack.jl
index 5a57bfe..81161f8 100644
--- a/base/linalg/lapack.jl
+++ b/base/linalg/lapack.jl
@@ -692,7 +692,7 @@ for (tzrzf, ormrz, elty) in
end
"""
- ormrz!(side, trans, A, tau, C)
+ ormrz!(side, trans, A, tau, C) -> C
@tkelman
tkelman / -
Last active August 29, 2015 14:16 — forked from anonymous/-
tkelman@ygdesk:~/github/ecos$ ./ecostester
ECOS 1.1.1 - (c) A. Domahidi, ETH Zurich & embotech 2012-15. Support: ecos@embotech.com
It pcost dcost gap pres dres k/t mu step IR
0 -1.030e+02 -3.786e+03 +6e+04 8e-01 3e-01 1e+00 3e+01 N/A 1 1 -
1 -1.873e+02 -5.983e+02 +1e+04 7e-02 3e-02 5e-01 6e+00 0.8442 1 2 2
2 -1.890e+02 -2.683e+02 +4e+03 1e-02 6e-03 4e-01 2e+00 0.8197 2 3 3
3 -2.094e+02 -2.160e+02 +4e+02 1e-03 4e-04 3e-02 2e-01 0.9129 2 2 2
4 -2.109e+02 -2.113e+02 +3e+01 7e-05 2e-05 6e-04 2e-02 0.9263 2 3 3
<?xml version="1.0" encoding="utf-8"?>
<osol xmlns="os.optimizationservices.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="os.optimizationservices.org http://www.optimizationservices.org/schemas/2.0/OSoL.xsd">
<optimization>
<variables>
<initialVariableValues numberOfVar="1604">
<var idx="0" value="0.0"/>
<var idx="1" value="0.0024937500000000003"/>
<var idx="2" value="0.004975"/>
<var idx="3" value="0.00744375"/>
<var idx="4" value="0.0099"/>
@tkelman
tkelman / ipopt.pc
Last active August 29, 2015 14:13 — forked from staticfloat/ipopt.pc
prefix=/Users/travis/.julia/v0.4/Homebrew/deps/usr/Cellar/ipopt/3.11.8_1
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/coin
Name: IPOPT
Description: Interior Point Optimizer
URL: https://projects.coin-or.org/Ipopt
Version: 3.11.8
Libs: -L${libdir} -lipopt /Users/travis/.julia/v0.4/Homebrew/deps/usr/Cellar/ipopt/3.11.8_1/lib/libcoinlapack.a /Users/travis/.julia/v0.4/Homebrew/deps/usr/Cellar/ipopt/3.11.8_1/lib/libcoinblas.a -L/Users/travis/.julia/v0.4/Homebrew/deps/usr/Cellar/libgfortran/4.9.2_1/lib/ -lgfortran -lSystem -lquadmath -lm /Users/travis/.julia/v0.4/Homebrew/deps/usr/Cellar/ipopt/3.11.8_1/lib/libcoinblas.a -lm -ldl
@tkelman
tkelman / dmtest.cxx
Last active August 29, 2015 13:56 — forked from anonymous/dmtest.cxx
class A
{
public:
A (const A &);
~A ();
};
A::A (const A &)
{
}
@tkelman
tkelman / lusol.rb
Last active August 29, 2015 13:56 — forked from anonymous/lusol.rb
require "formula"
class Lusol < Formula
homepage 'http://www.stanford.edu/group/SOL/software/lusol.html'
url 'http://sourceforge.net/projects/lpsolve/files/LUSOL/2.2.1.0/LUSOL2.2.1.0.zip/download'
sha1 '9e12a0c774479a66146cf1de6936732d21c77087'
def patches
# fixes undefined symbols for max and _strupr
DATA
@tkelman
tkelman / psopt.rb
Last active August 29, 2015 13:56 — forked from anonymous/psopt.rb
require 'formula'
class Psopt302Patch < Formula
homepage 'https://code.google.com/p/psopt/'
url 'http://psopt.googlecode.com/files/patch_3.02.zip'
sha1 'fd04038126dcfe4e1e9d95a26c7795423ac73276'
end
class Psopt < Formula
homepage 'https://code.google.com/p/psopt/'