https://github.com/GPflow/GPflow
Revision bd1e9c04b48dd5ccca9619d5eaa2595a358bdb08 authored by st-- on 31 January 2020, 15:59:08 UTC, committed by GitHub on 31 January 2020, 15:59:08 UTC
In GPflow 1, each kernel's K and K_diag method was supposed to take a presliced argument. Not all kernels actually had this signature, and not all kernels who had this signature actually did anything with the argument. This PR makes presliced an argument solely to the kernel's __call__, with the intent of making the entire set-up a lot cleaner.
1 parent cf89f9d
Raw File
Tip revision: bd1e9c04b48dd5ccca9619d5eaa2595a358bdb08 authored by st-- on 31 January 2020, 15:59:08 UTC
Clean up `presliced` argument to kernel calls (#1235)
Tip revision: bd1e9c0
Makefile
.PHONY: help clean dev docs package test

help:
	@echo "The following make targets are available:"
	@echo "	dev-install		install all dependencies for dev environment and sets a egg link to the project sources"
	@echo "	install			install all dependencies and the project in the current environment"
	@echo "	package			build pip package"
	@echo "	test			run all tests in parallel"
	@echo "	clean			removes package, build files and egg info"

clean:
	rm -rf dist *.egg-info build

dev-install:
	pip install -e .

install:
	pip install .

package:
	python setup.py bdist

test:
	pytest -n auto tests/
back to top