Skip to content

Commit c0b48fc

Browse files
authored
Add license headers (#38)
1 parent db257f8 commit c0b48fc

File tree

14 files changed

+75
-2
lines changed

14 files changed

+75
-2
lines changed

src/DSDP.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
module DSDP
7+
28
import DSDP_jll
9+
310
using LinearAlgebra
411

512
macro dsdp_ccall(f, args...)

src/MOI_wrapper.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
import MathOptInterface as MOI
27
const AFF = MOI.ScalarAffineFunction{Cdouble}
38
const EQ = MOI.EqualTo{Cdouble}

src/bcone.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
export BCone
27

38
module BCone

src/blockdiag.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
abstract type AbstractBlockMatrix{T} <: AbstractMatrix{T} end
27

38
function nblocks end

src/dsdp5_API.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
# Julia wrapper for header: include/dsdp5.h
27
# Automatically generated using Clang.jl wrap_c, version 0.0.0
38

src/dsdp5_enums.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
# Automatically generated using Clang.jl wrap_c, version 0.0.0
27

38
const DSDPTruth = Cuint

src/lpcone.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
export LPCone
27

38
module LPCone

src/sdpcone.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
export SDPCone
27

38
module SDPCone
49

510
import ..@dsdp_ccall
11+
612
const SDPConeT = Ptr{Nothing}
713

814
function SetBlockSize(sdpcone::SDPConeT, i::Integer, j::Integer)

test/MOI_wrapper.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
module TestDSDP
27

38
using Test

test/build.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) 2022: Joey Huchette, Benoît Legat, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
16
@testset "LPConeSetData doc example" begin
27
lpdvars = Cint[ 3, 3, 2, 2, 1, 3, 1, 1]
38
lpdrows = Cint[ 2, 0, 1, 0, 0, 1, 1, 2]

0 commit comments

Comments
 (0)