Skip to content

Commit e18da7f

Browse files
committed
Add license header
1 parent a951bae commit e18da7f

9 files changed

+54
-0
lines changed

Diff for: src/Nonlinear/Nonlinear.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
module Nonlinear
28

39
import Base.Meta: isexpr

Diff for: src/Nonlinear/evaluator.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
function Base.copy(::Evaluator)
28
return error("Copying nonlinear problems not yet implemented")
39
end

Diff for: src/Nonlinear/model.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
function Base.copy(::Model)
28
return error("Copying nonlinear problems not yet implemented")
39
end

Diff for: src/Nonlinear/operators.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
function _create_binary_switch(ids, exprs)
28
if length(exprs) <= 3
39
out = Expr(:if, Expr(:call, :(==), :id, ids[1]), exprs[1])

Diff for: src/Nonlinear/parse.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
"""
28
parse_expression(data::Model, input)::Expression
39

Diff for: src/Nonlinear/types.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
"""
28
NodeType
39

Diff for: src/Nonlinear/univariate_expressions.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
#! format:off
28

39
# This file is machine generated by running univariate_expressions_generator.jl

Diff for: src/Nonlinear/univariate_expressions_generator.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
# JuMP requires first and second-order symbolic derivatives for univariate
28
# functions. Calculus.jl is a package for computing them, and JuMP 1.0.0 used to
39
# dynamically compute them during precompilation. The benefit of this approach

Diff for: test/Nonlinear/Nonlinear.jl

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) 2017: Miles Lubin and contributors
2+
# Copyright (c) 2017: Google Inc.
3+
#
4+
# Use of this source code is governed by an MIT-style license that can be found
5+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6+
17
module TestNonlinear
28

39
using Test

0 commit comments

Comments
 (0)